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: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001012, allocations: 112.6 kB / 16.37 MB, free: 6 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.0009646/0.0009646, allocations: 196 kB / 17.31 MB, free: 5.613 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 293.7 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8889/0.8889, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 98.45 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1477, allocations: 86.96 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002632/0.1504, allocations: 1.823 MB / 0.6834 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002456/0.1507, allocations: 119.6 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.535e-05/0.1507, allocations: 0 / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.969e-05/0.1508, allocations: 15.86 kB / 0.6835 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.1509, allocations: 55.48 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.1511, allocations: 31.95 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.1513, allocations: 171.2 kB / 0.6837 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1514, allocations: 37.02 kB / 0.6838 GB, free: 5.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/0.1514, allocations: 59.78 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.1516, allocations: 71.67 kB / 0.6839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1516, allocations: 12 kB / 0.6839 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.1516, allocations: 8 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.1516, allocations: 27.86 kB / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.461e-05/0.1517, allocations: 63.72 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1519, allocations: 123.5 kB / 0.6841 GB, free: 4.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1519, allocations: 0 / 0.6841 GB, free: 4.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1519, allocations: 0 / 0.6841 GB, free: 4.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1519, allocations: 4 kB / 0.6841 GB, free: 4.848 MB / 494.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.0006933/0.1526, allocations: 442.9 kB / 0.6846 GB, free: 4.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1526, allocations: 12.03 kB / 0.6846 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.1527, allocations: 16.75 kB / 0.6846 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1529, allocations: 204.9 kB / 0.6848 GB, free: 4.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1529, allocations: 12.38 kB / 0.6848 GB, free: 4.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1529, allocations: 4.375 kB / 0.6848 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1532, allocations: 119.8 kB / 0.6849 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1532, allocations: 4.125 kB / 0.6849 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1532, allocations: 3.938 kB / 0.6849 GB, free: 3.945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1532, allocations: 4 kB / 0.6849 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.1535, allocations: 103.9 kB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.1542, allocations: 472.7 kB / 0.6855 GB, free: 3.324 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.1545, allocations: 125.2 kB / 0.6856 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1547, allocations: 57.78 kB / 0.6856 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1547, allocations: 7.938 kB / 0.6857 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1547, allocations: 42.5 kB / 0.6857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.1547, allocations: 0 / 0.6857 GB, free: 3.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005178/0.1553, allocations: 173.5 kB / 0.6859 GB, free: 2.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.1553, allocations: 85.09 kB / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.1555, allocations: 168.1 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1555, allocations: 25.7 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.1556, allocations: 116 kB / 0.6862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.1556, allocations: 31.55 kB / 0.6863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.1556, allocations: 21.72 kB / 0.6863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.1558, allocations: 330.8 kB / 0.6866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1559, allocations: 39.97 kB / 0.6866 GB, free: 2.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.156, allocations: 57.69 kB / 0.6867 GB, free: 1.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1563, allocations: 113.8 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1563, allocations: 0 / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003197/0.1566, allocations: 145.4 kB / 0.6869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1566, allocations: 6.5 kB / 0.6869 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1567, allocations: 4 kB / 0.687 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1567, allocations: 4 kB / 0.687 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1568, allocations: 19.98 kB / 0.687 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1568, allocations: 0 / 0.687 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.157, allocations: 15.98 kB / 0.687 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.157, allocations: 7.938 kB / 0.687 GB, free: 1.652 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 0.0001012/0.1571, allocations: 113.8 kB / 0.6871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.1571, allocations: 15.98 kB / 0.6871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.1575, allocations: 162.5 kB / 0.6873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1575, allocations: 0 / 0.6873 GB, free: 1.352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1575, allocations: 4 kB / 0.6873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1576, allocations: 0 / 0.6873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1578, allocations: 229.5 kB / 0.6875 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1579, allocations: 7.984 kB / 0.6875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.158, allocations: 27.92 kB / 0.6875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.158, allocations: 0 / 0.6875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.158, allocations: 4 kB / 0.6875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.158, allocations: 192 / 0.6875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.158, allocations: 8 kB / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.1584, allocations: 314.6 kB / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.1585, allocations: 93 kB / 0.6879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1585, allocations: 0 / 0.6879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1587, allocations: 11.98 kB / 0.6879 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1587, allocations: 8 kB / 0.688 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1587, allocations: 3.938 kB / 0.688 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.1588, allocations: 128.7 kB / 0.6881 GB, free: 456 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1588, allocations: 0 / 0.6881 GB, free: 456 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1591, allocations: 31.91 kB / 0.6881 GB, free: 424 kB / 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 7.988e-05/0.1592, allocations: 99.25 kB / 0.6882 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.1595, allocations: 103.9 kB / 0.6883 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1596, allocations: 0 / 0.6883 GB, free: 208 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1597, allocations: 55.91 kB / 0.6884 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1601, allocations: 41.7 kB / 0.6884 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.221/0.3811, allocations: 221.9 kB / 0.6886 GB, free: 18.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.3813, allocations: 0.7036 MB / 0.6893 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3814, allocations: 13.05 kB / 0.6893 GB, free: 17.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.3815, allocations: 14.16 kB / 0.6893 GB, free: 17.35 MB / 494.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3815, allocations: 3.656 kB / 0.6893 GB, free: 17.35 MB / 494.1 MB Notification: Performance of Templates: time 0.004912/0.3864, allocations: 2.101 MB / 0.6914 GB, free: 17.31 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)