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.005732/0.005732, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001294/0.001294, allocations: 195.2 kB / 16.67 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 286.7 kB / 290.8 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 99.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1417, allocations: 86.96 MB / 0.7663 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002478/0.1442, allocations: 1.812 MB / 0.7681 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.1445, allocations: 127.5 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.1446, allocations: 0 / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.682e-05/0.1447, allocations: 19.8 kB / 0.7683 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.1448, allocations: 51.55 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001092/0.1449, allocations: 35.95 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.1451, allocations: 171.1 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.1452, allocations: 33.02 kB / 0.7685 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.1453, allocations: 63.83 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1454, allocations: 67.69 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.1454, allocations: 12 kB / 0.7687 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.1454, allocations: 8 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.1455, allocations: 23.92 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.546e-05/0.1455, allocations: 67.66 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.1457, allocations: 123.5 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1457, allocations: 0 / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1457, allocations: 3.938 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1457, allocations: 0 / 0.7689 GB, free: 5.859 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.0006892/0.1464, allocations: 454.8 kB / 0.7693 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1464, allocations: 12.03 kB / 0.7693 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.1465, allocations: 16.84 kB / 0.7693 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1467, allocations: 203.2 kB / 0.7695 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1467, allocations: 8.375 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.1467, allocations: 4.375 kB / 0.7696 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.147, allocations: 129.3 kB / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.147, allocations: 192 / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.147, allocations: 3.938 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1471, allocations: 4 kB / 0.7697 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.1474, allocations: 95.92 kB / 0.7698 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.148, allocations: 476.7 kB / 0.7702 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.1484, allocations: 133.2 kB / 0.7704 GB, free: 4.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1485, allocations: 57.78 kB / 0.7704 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1486, allocations: 4 kB / 0.7704 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.1486, allocations: 34.56 kB / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1486, allocations: 0 / 0.7704 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0005612/0.1492, allocations: 181.5 kB / 0.7706 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1492, allocations: 85.09 kB / 0.7707 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1494, allocations: 167.1 kB / 0.7709 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1494, allocations: 25.7 kB / 0.7709 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.1495, allocations: 112 kB / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1495, allocations: 31.73 kB / 0.771 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.1495, allocations: 29.66 kB / 0.7711 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1497, allocations: 330.7 kB / 0.7714 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.1498, allocations: 43.91 kB / 0.7714 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.15, allocations: 53.69 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1502, allocations: 109.7 kB / 0.7716 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1503, allocations: 0 / 0.7716 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003473/0.1506, allocations: 149.8 kB / 0.7717 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1506, allocations: 4 kB / 0.7717 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1506, allocations: 0 / 0.7717 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1507, allocations: 4 kB / 0.7717 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1508, allocations: 23.98 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1508, allocations: 3.984 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1509, allocations: 15.98 kB / 0.7718 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.151, allocations: 7.938 kB / 0.7718 GB, free: 2.645 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 8.376e-05/0.151, allocations: 118.4 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.1511, allocations: 15.89 kB / 0.7719 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.1515, allocations: 158.5 kB / 0.772 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1515, allocations: 240 / 0.772 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1515, allocations: 4 kB / 0.772 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1515, allocations: 0 / 0.772 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.1518, allocations: 233.5 kB / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1518, allocations: 7.984 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.152, allocations: 19.98 kB / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.152, allocations: 0 / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.152, allocations: 4 kB / 0.7723 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.152, allocations: 4 kB / 0.7723 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.152, allocations: 4 kB / 0.7723 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.1524, allocations: 303.1 kB / 0.7726 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.306e-05/0.1525, allocations: 97 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1525, allocations: 4 kB / 0.7727 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.1527, allocations: 12.27 kB / 0.7727 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.1527, allocations: 8 kB / 0.7727 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1527, allocations: 3.938 kB / 0.7727 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.466e-05/0.1528, allocations: 137.7 kB / 0.7728 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.503e-06/0.1528, allocations: 0 / 0.7728 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002847/0.1531, allocations: 31.94 kB / 0.7729 GB, free: 1.406 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 7.493e-05/0.1532, allocations: 95.25 kB / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.1536, allocations: 112.1 kB / 0.7731 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1536, allocations: 0 / 0.7731 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1537, allocations: 56.09 kB / 0.7731 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.1541, allocations: 42.34 kB / 0.7732 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.1546, allocations: 235.2 kB / 0.7734 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1548, allocations: 0.7006 MB / 0.7741 GB, free: 116 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.111e-05/0.1549, allocations: 16.64 kB / 0.7741 GB, free: 100 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.155, allocations: 15.44 kB / 0.7741 GB, free: 84 kB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.155, allocations: 0 / 0.7741 GB, free: 84 kB / 0.5606 GB Notification: Performance of Templates: time 0.2761/0.4311, allocations: 2.104 MB / 0.7762 GB, free: 14.38 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)