Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005031/0.005031, allocations: 99.09 kB / 15.73 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 193.3 kB / 16.67 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.541/2.541, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 63.89 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2616, allocations: 162.3 MB / 1.242 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002314/0.264, allocations: 1.584 MB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2652, allocations: 0.9112 MB / 1.244 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.763e-05/0.2653, allocations: 4 kB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002098/0.2655, allocations: 63.64 kB / 1.244 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.2659, allocations: 139.3 kB / 1.244 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.074e-05/0.2659, allocations: 11.98 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.2663, allocations: 358.3 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.2664, allocations: 48.73 kB / 1.245 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2666, allocations: 143.4 kB / 1.245 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2668, allocations: 143.3 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.2668, allocations: 16 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/0.2675, allocations: 0.5281 MB / 1.246 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/0.2675, allocations: 47.72 kB / 1.246 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.2677, allocations: 139.2 kB / 1.246 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.2691, allocations: 0.838 MB / 1.247 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2691, allocations: 4 kB / 1.247 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2691, allocations: 4 kB / 1.247 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2691, allocations: 0 / 1.247 GB, free: 4.895 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001172/0.2703, allocations: 0.6612 MB / 1.247 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2704, allocations: 12.03 kB / 1.247 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.2704, allocations: 30.75 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.2705, allocations: 32.75 kB / 1.247 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.2709, allocations: 382.6 kB / 1.248 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2709, allocations: 4.375 kB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2709, allocations: 8.375 kB / 1.248 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.2711, allocations: 101.1 kB / 1.248 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2711, allocations: 4 kB / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.2711, allocations: 0 / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2711, allocations: 0 / 1.248 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.2712, allocations: 75.86 kB / 1.248 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.2716, allocations: 336.1 kB / 1.248 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.2717, allocations: 114.5 kB / 1.248 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.2718, allocations: 59.39 kB / 1.248 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.2718, allocations: 0 / 1.248 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.2719, allocations: 46.44 kB / 1.248 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.2719, allocations: 4 kB / 1.248 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003114/0.2722, allocations: 181.3 kB / 1.249 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.2722, allocations: 132.5 kB / 1.249 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005501/0.2728, allocations: 0.5014 MB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.2728, allocations: 30.2 kB / 1.249 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.273, allocations: 168.4 kB / 1.249 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.273, allocations: 15.84 kB / 1.249 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.2731, allocations: 49.69 kB / 1.25 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2732, allocations: 342.8 kB / 1.25 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.2733, allocations: 95.92 kB / 1.25 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.2735, allocations: 162.7 kB / 1.25 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.2738, allocations: 239.2 kB / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2738, allocations: 0 / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003841/0.2742, allocations: 305.1 kB / 1.251 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2742, allocations: 4 kB / 1.251 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2742, allocations: 4 kB / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2743, allocations: 0 / 1.251 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2744, allocations: 19.92 kB / 1.251 GB, free: 500 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2744, allocations: 4 kB / 1.251 GB, free: 496 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2745, allocations: 23.88 kB / 1.251 GB, free: 472 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2746, allocations: 4 kB / 1.251 GB, free: 468 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.2747, allocations: 183.1 kB / 1.251 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.2748, allocations: 35.75 kB / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.2751, allocations: 176 kB / 1.251 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2751, allocations: 8.125 kB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2751, allocations: 3.984 kB / 1.251 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2751, allocations: 0 / 1.251 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4679/0.743, allocations: 284.7 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.743, allocations: 2.469 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.7432, allocations: 18.58 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.7432, allocations: 1.875 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7432, allocations: 3.422 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.7432, allocations: 3.719 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7432, allocations: 2.219 kB / 1.251 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.7434, allocations: 196.9 kB / 1.252 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.7435, allocations: 139.2 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.7436, allocations: 3.438 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.7437, allocations: 14.3 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.7438, allocations: 5.922 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.7438, allocations: 3.078 kB / 1.252 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003749/0.7442, allocations: 380.3 kB / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7442, allocations: 0 / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004515/0.7446, allocations: 102.9 kB / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004506/0.7491, allocations: 3.441 MB / 1.256 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.7494, allocations: 175.1 kB / 1.256 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7494, allocations: 0 / 1.256 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.88e-05/0.7495, allocations: 46.17 kB / 1.256 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.7498, allocations: 57.73 kB / 1.256 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.753, allocations: 3.485 MB / 1.259 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.7532, allocations: 0.8154 MB / 1.26 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.7533, allocations: 51.53 kB / 1.26 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.7534, allocations: 80.38 kB / 1.26 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.7534, allocations: 0 / 1.26 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9905/1.744, allocations: 10.73 MB / 1.271 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.73, allocations: 19.91 kB / 1.271 GB, free: 10.08 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)