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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5024/0.5024, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009466/0.0009466, allocations: 87.95 kB / 415.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.516e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5205, allocations: 101.4 MB / 0.6527 GB, free: 8.574 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/0.5207, allocations: 71.58 kB / 0.6527 GB, free: 8.535 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004977/0.5257, allocations: 1.883 MB / 0.6546 GB, free: 6.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5257, allocations: 0 / 0.6546 GB, free: 6.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5258, allocations: 8 kB / 0.6546 GB, free: 6.902 MB / 458.7 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.0005456/0.5263, allocations: 428.6 kB / 0.655 GB, free: 6.449 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5264, allocations: 12.03 kB / 0.655 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.5264, allocations: 19.77 kB / 0.655 GB, free: 6.418 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.5267, allocations: 202.8 kB / 0.6552 GB, free: 6.188 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.5267, allocations: 4 kB / 0.6552 GB, free: 6.184 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.5267, allocations: 4 kB / 0.6552 GB, free: 6.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/0.5269, allocations: 54 kB / 0.6553 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.527, allocations: 95.77 kB / 0.6553 GB, free: 6.059 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.527, allocations: 0 / 0.6553 GB, free: 6.059 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5271, allocations: 3.953 kB / 0.6554 GB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.5271, allocations: 4 kB / 0.6554 GB, free: 6.051 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.5277, allocations: 432.5 kB / 0.6558 GB, free: 5.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.5279, allocations: 113.8 kB / 0.6559 GB, free: 5.527 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.528, allocations: 44.61 kB / 0.6559 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.528, allocations: 2.703 kB / 0.6559 GB, free: 5.488 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.5281, allocations: 38.69 kB / 0.656 GB, free: 5.445 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.5281, allocations: 4 kB / 0.656 GB, free: 5.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002331/0.5283, allocations: 90.88 kB / 0.656 GB, free: 5.363 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5284, allocations: 88.28 kB / 0.6561 GB, free: 5.262 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.5285, allocations: 142.3 kB / 0.6563 GB, free: 5.125 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5285, allocations: 25.7 kB / 0.6563 GB, free: 5.094 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.5286, allocations: 105 kB / 0.6564 GB, free: 5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.5286, allocations: 33.67 kB / 0.6564 GB, free: 4.973 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.5286, allocations: 0 / 0.6564 GB, free: 4.973 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5287, allocations: 325.8 kB / 0.6567 GB, free: 4.648 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.5288, allocations: 28.69 kB / 0.6568 GB, free: 4.633 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.5288, allocations: 35.91 kB / 0.6568 GB, free: 4.602 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.822e-05/0.5289, allocations: 34.36 kB / 0.6568 GB, free: 4.578 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5289, allocations: 0 / 0.6568 GB, free: 4.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001621/0.5291, allocations: 99.59 kB / 0.6569 GB, free: 4.496 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5291, allocations: 12.73 kB / 0.6569 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5291, allocations: 0 / 0.6569 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.5291, allocations: 0 / 0.6569 GB, free: 4.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.5293, allocations: 27.98 kB / 0.657 GB, free: 4.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5293, allocations: 4 kB / 0.657 GB, free: 4.453 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.5294, allocations: 15.89 kB / 0.657 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.5295, allocations: 7.125 kB / 0.657 GB, free: 4.434 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.5295, allocations: 105.1 kB / 0.6571 GB, free: 4.324 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001743/0.5297, allocations: 99.41 kB / 0.6572 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.5298, allocations: 27.78 kB / 0.6572 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.53, allocations: 117.4 kB / 0.6573 GB, free: 4.121 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.53, allocations: 4 kB / 0.6573 GB, free: 4.117 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.53, allocations: 0 / 0.6573 GB, free: 4.117 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.53, allocations: 0 / 0.6573 GB, free: 4.117 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.5303, allocations: 194.8 kB / 0.6575 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5303, allocations: 0 / 0.6575 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.5304, allocations: 27.98 kB / 0.6575 GB, free: 3.883 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5304, allocations: 0 / 0.6575 GB, free: 3.883 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5304, allocations: 7.953 kB / 0.6575 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5305, allocations: 256 / 0.6575 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.5305, allocations: 4 kB / 0.6576 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.5307, allocations: 282.6 kB / 0.6578 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.668e-05/0.5307, allocations: 92.12 kB / 0.6579 GB, free: 3.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.5308, allocations: 8 kB / 0.6579 GB, free: 3.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.5309, allocations: 11.98 kB / 0.6579 GB, free: 3.469 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.531, allocations: 7.984 kB / 0.6579 GB, free: 3.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.531, allocations: 0 / 0.6579 GB, free: 3.461 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.691e-05/0.5311, allocations: 121.6 kB / 0.6581 GB, free: 3.355 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5311, allocations: 4 kB / 0.6581 GB, free: 3.352 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002652/0.5314, allocations: 27.94 kB / 0.6581 GB, free: 3.324 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004358/0.5318, allocations: 0.8846 MB / 0.6589 GB, free: 2.434 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.5319, allocations: 61.38 kB / 0.659 GB, free: 2.395 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.532, allocations: 0 / 0.659 GB, free: 2.395 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.214e-05/0.532, allocations: 37.62 kB / 0.659 GB, free: 2.367 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.5323, allocations: 45.5 kB / 0.6591 GB, free: 2.332 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004796/0.5328, allocations: 176.1 kB / 0.6593 GB, free: 2.137 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.5331, allocations: 0.7116 MB / 0.6599 GB, free: 1.398 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.5332, allocations: 16.55 kB / 0.66 GB, free: 1.383 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.5332, allocations: 35.36 kB / 0.66 GB, free: 1.367 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.5332, allocations: 0 / 0.66 GB, free: 1.367 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.5532, allocations: 2.655 MB / 0.6626 GB, free: 14.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.5534, allocations: 156.2 kB / 0.6627 GB, free: 14.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.477/2.031, allocations: 0 / 0.6627 GB, free: 14.57 MB / 474.7 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/linux/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)