Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.001344/0.001344, allocations: 108.5 kB / 16.4 MB, free: 6.434 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.001444/0.001444, allocations: 193.2 kB / 17.34 MB, free: 5.711 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6603/0.6603, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 66.58 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002701/0.1199, allocations: 1.805 MB / 0.6333 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.1202, allocations: 123.6 kB / 0.6334 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.1203, allocations: 0 / 0.6334 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.467e-05/0.1204, allocations: 11.86 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.1205, allocations: 59.44 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.1206, allocations: 31.95 kB / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.1208, allocations: 175.2 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.121, allocations: 21.12 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.543e-05/0.121, allocations: 51.84 kB / 0.6338 GB, free: 2.641 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1211, allocations: 75.62 kB / 0.6338 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1212, allocations: 8 kB / 0.6338 GB, free: 2.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.234e-05/0.1212, allocations: 12 kB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.1212, allocations: 23.92 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.1213, allocations: 71.64 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1215, allocations: 127.2 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1215, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1215, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1215, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000719/0.1222, allocations: 450.8 kB / 0.6345 GB, free: 1.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1222, allocations: 8.031 kB / 0.6345 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.1223, allocations: 42.73 kB / 0.6346 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1223, allocations: 12.84 kB / 0.6346 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1226, allocations: 208.6 kB / 0.6348 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1226, allocations: 4.375 kB / 0.6348 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.1226, allocations: 8.375 kB / 0.6348 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.1229, allocations: 119.8 kB / 0.6349 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1229, allocations: 3.938 kB / 0.6349 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1229, allocations: 4 kB / 0.6349 GB, free: 1.379 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.1229, allocations: 4 kB / 0.6349 GB, free: 1.375 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.1232, allocations: 91.88 kB / 0.635 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006358/0.1238, allocations: 476.8 kB / 0.6354 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.1242, allocations: 125.2 kB / 0.6356 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1243, allocations: 61.78 kB / 0.6356 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.1244, allocations: 7.922 kB / 0.6356 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1244, allocations: 34.55 kB / 0.6357 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1244, allocations: 0 / 0.6357 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005086/0.1249, allocations: 189.3 kB / 0.6358 GB, free: 324 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1249, allocations: 81.11 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.1251, allocations: 174.9 kB / 0.6361 GB, free: 36 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1251, allocations: 25.7 kB / 0.6361 GB, free: 4 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.1252, allocations: 112 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.1252, allocations: 31.7 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1253, allocations: 25.62 kB / 0.6363 GB, free: 15.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.1254, allocations: 326.8 kB / 0.6366 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1255, allocations: 43.97 kB / 0.6366 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1256, allocations: 61.67 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1259, allocations: 105.9 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1259, allocations: 4 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003077/0.1262, allocations: 145.4 kB / 0.6369 GB, free: 15.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.1262, allocations: 4 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1263, allocations: 7.984 kB / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1263, allocations: 0 / 0.6369 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1264, allocations: 19.98 kB / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1264, allocations: 0 / 0.637 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1265, allocations: 23.83 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1266, allocations: 4 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 8.58e-05/0.1267, allocations: 120.9 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1267, allocations: 11.91 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.1271, allocations: 154.5 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1271, allocations: 8 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1271, allocations: 0 / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1271, allocations: 3.938 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.1274, allocations: 225.4 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1274, allocations: 0 / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1275, allocations: 23.92 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1275, allocations: 0 / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1276, allocations: 0 / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1276, allocations: 4 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1276, allocations: 0 / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/0.1279, allocations: 318.9 kB / 0.6378 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.128, allocations: 92.92 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.128, allocations: 8 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1282, allocations: 7.984 kB / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1282, allocations: 15.92 kB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1283, allocations: 4 kB / 0.6379 GB, free: 13.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.845e-05/0.1283, allocations: 124.2 kB / 0.6381 GB, free: 13.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1283, allocations: 0 / 0.6381 GB, free: 13.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1286, allocations: 28 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * 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.0005864/0.1292, allocations: 0.8366 MB / 0.6389 GB, free: 12.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1295, allocations: 103.9 kB / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1295, allocations: 0 / 0.639 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1297, allocations: 59.91 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.1301, allocations: 49.94 kB / 0.6391 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1321, allocations: 1.833 MB / 0.6409 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.1323, allocations: 0.7006 MB / 0.6416 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.1324, allocations: 16.64 kB / 0.6416 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.778e-05/0.1324, allocations: 39.42 kB / 0.6416 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1324, allocations: 0 / 0.6416 GB, free: 10.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1511, allocations: 3.701 MB / 0.6452 GB, free: 6.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/6.987, allocations: 3.938 kB / 0.6453 GB, free: 6.516 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)