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.0007416/0.0007421, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 172.9 kB / 16.58 MB, free: 6.797 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.263/1.263, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6265/0.6265, allocations: 113.7 MB / 405.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 8 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001831/0.1452, allocations: 1.481 MB / 0.5583 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.1455, allocations: 127.6 kB / 0.5585 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.1456, allocations: 0 / 0.5585 GB, free: 10.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.1457, allocations: 15.86 kB / 0.5585 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.1458, allocations: 43.62 kB / 0.5585 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.1459, allocations: 23.97 kB / 0.5585 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1461, allocations: 151.2 kB / 0.5587 GB, free: 9.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.275e-05/0.1462, allocations: 25.09 kB / 0.5587 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.1462, allocations: 47.78 kB / 0.5588 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.356e-05/0.1463, allocations: 59.77 kB / 0.5588 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1464, allocations: 12 kB / 0.5588 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.1464, allocations: 4 kB / 0.5588 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1464, allocations: 15.91 kB / 0.5588 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.1465, allocations: 53.58 kB / 0.5589 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1466, allocations: 76.08 kB / 0.559 GB, free: 9.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1466, allocations: 0 / 0.559 GB, free: 9.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1466, allocations: 0 / 0.559 GB, free: 9.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1466, allocations: 0 / 0.559 GB, free: 9.551 MB / 430.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.0006597/0.1473, allocations: 450.7 kB / 0.5594 GB, free: 9.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1473, allocations: 8.031 kB / 0.5594 GB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1473, allocations: 42.55 kB / 0.5594 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.1474, allocations: 11.91 kB / 0.5595 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1476, allocations: 203.5 kB / 0.5596 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1476, allocations: 11.94 kB / 0.5597 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1476, allocations: 8 kB / 0.5597 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.1479, allocations: 123.3 kB / 0.5598 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1479, allocations: 0 / 0.5598 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1479, allocations: 4 kB / 0.5598 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1479, allocations: 4 kB / 0.5598 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.1482, allocations: 107.9 kB / 0.5599 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.1489, allocations: 480.6 kB / 0.5604 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.1492, allocations: 137.2 kB / 0.5605 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.1493, allocations: 65.78 kB / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1494, allocations: 8 kB / 0.5606 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.1494, allocations: 34.5 kB / 0.5606 GB, free: 7.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.1494, allocations: 0 / 0.5606 GB, free: 7.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005297/0.1499, allocations: 209.3 kB / 0.5608 GB, free: 7.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.15, allocations: 77.11 kB / 0.5609 GB, free: 7.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1501, allocations: 162.9 kB / 0.561 GB, free: 7.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1502, allocations: 29.7 kB / 0.561 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.1502, allocations: 104.2 kB / 0.5611 GB, free: 7.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1503, allocations: 35.55 kB / 0.5612 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.1503, allocations: 4 kB / 0.5612 GB, free: 7.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1504, allocations: 326.8 kB / 0.5615 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1505, allocations: 51.97 kB / 0.5615 GB, free: 6.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.1507, allocations: 65.72 kB / 0.5616 GB, free: 6.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1508, allocations: 47.97 kB / 0.5616 GB, free: 6.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1508, allocations: 0 / 0.5616 GB, free: 6.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003208/0.1512, allocations: 165.6 kB / 0.5618 GB, free: 6.371 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1512, allocations: 4 kB / 0.5618 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1512, allocations: 3.938 kB / 0.5618 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1512, allocations: 384 / 0.5618 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1514, allocations: 31.98 kB / 0.5618 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1514, allocations: 11.91 kB / 0.5619 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.1515, allocations: 16 kB / 0.5619 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1515, allocations: 4 kB / 0.5619 GB, free: 6.301 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/0.1516, allocations: 125.1 kB / 0.562 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.1516, allocations: 15.81 kB / 0.562 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.152, allocations: 174.5 kB / 0.5622 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1521, allocations: 7.938 kB / 0.5622 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1521, allocations: 0 / 0.5622 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1521, allocations: 240 / 0.5622 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.1523, allocations: 233.4 kB / 0.5624 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1523, allocations: 0 / 0.5624 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.1525, allocations: 27.97 kB / 0.5624 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1525, allocations: 0 / 0.5624 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1525, allocations: 8 kB / 0.5624 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1525, allocations: 0 / 0.5624 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1525, allocations: 0 / 0.5624 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.1529, allocations: 334.6 kB / 0.5628 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.153, allocations: 92.88 kB / 0.5628 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.153, allocations: 0 / 0.5628 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1532, allocations: 11.98 kB / 0.5629 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.1532, allocations: 15.92 kB / 0.5629 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1532, allocations: 4 kB / 0.5629 GB, free: 5.176 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.931e-05/0.1533, allocations: 121.5 kB / 0.563 GB, free: 5.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1533, allocations: 0 / 0.563 GB, free: 5.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1536, allocations: 32 kB / 0.563 GB, free: 5.027 MB / 430.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 (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.0006389/0.1542, allocations: 0.8569 MB / 0.5639 GB, free: 4.141 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.1546, allocations: 119.8 kB / 0.564 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1546, allocations: 0 / 0.564 GB, free: 4.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.1547, allocations: 59.97 kB / 0.564 GB, free: 3.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.1552, allocations: 43.97 kB / 0.5641 GB, free: 3.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1565, allocations: 0.8282 MB / 0.5649 GB, free: 3.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1568, allocations: 0.7087 MB / 0.5656 GB, free: 2.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.7e-05/0.1569, allocations: 8.438 kB / 0.5656 GB, free: 2.297 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.157, allocations: 39.42 kB / 0.5656 GB, free: 2.258 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.157, allocations: 4 kB / 0.5656 GB, free: 2.254 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.1704, allocations: 3.215 MB / 0.5688 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.1706, allocations: 210.2 kB / 0.569 GB, free: 15.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.82, allocations: 0 / 0.569 GB, free: 15.01 MB / 446.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/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) Environment - environmentSimulation: