Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_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.004277/0.004278, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001211/0.001211, allocations: 200.3 kB / 16.68 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00243/0.00243, allocations: 278.7 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.021/1.021, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00317/0.00317, allocations: 98.16 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1581, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002619/0.1607, allocations: 1.813 MB / 0.7676 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.161, allocations: 115.6 kB / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.1611, allocations: 0 / 0.7678 GB, free: 7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/0.1612, allocations: 19.78 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.1613, allocations: 51.56 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001083/0.1614, allocations: 39.95 kB / 0.7679 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1616, allocations: 171.1 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1617, allocations: 33.31 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.297e-05/0.1618, allocations: 55.83 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1619, allocations: 71.69 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1619, allocations: 8 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.215e-05/0.1619, allocations: 16 kB / 0.7682 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.162, allocations: 19.92 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.295e-05/0.1621, allocations: 67.66 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1622, allocations: 127.4 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.1622, allocations: 0 / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1622, allocations: 4 kB / 0.7684 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1622, allocations: 0 / 0.7684 GB, free: 6.328 MB / 0.5606 GB 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.000712/0.163, allocations: 450.8 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.163, allocations: 15.97 kB / 0.7689 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.1631, allocations: 38.73 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1631, allocations: 16.84 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1633, allocations: 204.2 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.1634, allocations: 8.312 kB / 0.7691 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1634, allocations: 8.375 kB / 0.7691 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1637, allocations: 121.7 kB / 0.7692 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1637, allocations: 3.938 kB / 0.7692 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1637, allocations: 8 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1637, allocations: 0 / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.164, allocations: 95.86 kB / 0.7693 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.1647, allocations: 472.8 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.165, allocations: 133.2 kB / 0.7699 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1652, allocations: 61.78 kB / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1652, allocations: 0 / 0.77 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.1653, allocations: 42.48 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1653, allocations: 0 / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005391/0.1658, allocations: 177.5 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1659, allocations: 85.05 kB / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.166, allocations: 168.1 kB / 0.7704 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1661, allocations: 29.69 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1661, allocations: 108 kB / 0.7706 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1662, allocations: 31.73 kB / 0.7706 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1662, allocations: 25.66 kB / 0.7706 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1664, allocations: 334.8 kB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1665, allocations: 39.97 kB / 0.771 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1667, allocations: 57.69 kB / 0.771 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000265/0.1669, allocations: 109.9 kB / 0.7711 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1669, allocations: 0 / 0.7711 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003315/0.1673, allocations: 141.5 kB / 0.7713 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1673, allocations: 14.17 kB / 0.7713 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1673, allocations: 0 / 0.7713 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1673, allocations: 0 / 0.7713 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1675, allocations: 23.92 kB / 0.7713 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1675, allocations: 4 kB / 0.7713 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.1676, allocations: 16.11 kB / 0.7713 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1676, allocations: 4 kB / 0.7713 GB, free: 3.07 MB / 0.5606 GB 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 9.485e-05/0.1677, allocations: 122.4 kB / 0.7714 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.1678, allocations: 15.91 kB / 0.7715 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.1682, allocations: 162.7 kB / 0.7716 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1682, allocations: 4 kB / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1682, allocations: 0 / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1682, allocations: 3.938 kB / 0.7716 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.1686, allocations: 229.5 kB / 0.7718 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1686, allocations: 0 / 0.7718 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1687, allocations: 19.98 kB / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1687, allocations: 0 / 0.7719 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1687, allocations: 7.938 kB / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1687, allocations: 0 / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1687, allocations: 0 / 0.7719 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.1691, allocations: 319.1 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1692, allocations: 89.02 kB / 0.7723 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.1692, allocations: 4.188 kB / 0.7723 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.1694, allocations: 11.98 kB / 0.7723 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.1695, allocations: 15.92 kB / 0.7723 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.1695, allocations: 8 kB / 0.7723 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.588e-05/0.1696, allocations: 124.8 kB / 0.7724 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1696, allocations: 0 / 0.7724 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003797/0.17, allocations: 32 kB / 0.7724 GB, free: 1.828 MB / 0.5606 GB 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.0006871/0.1707, allocations: 0.8444 MB / 0.7733 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.171, allocations: 99.88 kB / 0.7734 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.171, allocations: 0 / 0.7734 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1712, allocations: 59.91 kB / 0.7734 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.1717, allocations: 46.47 kB / 0.7735 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.287/0.4587, allocations: 1.809 MB / 0.7752 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.4588, allocations: 0.7093 MB / 0.7759 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.85e-05/0.4589, allocations: 11.41 kB / 0.7759 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.459, allocations: 37.59 kB / 0.776 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.459, allocations: 1.281 kB / 0.776 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8979/1.357, allocations: 3.662 MB / 0.7795 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.65, allocations: 5.594 kB / 0.7796 GB, free: 12.48 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)