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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8866/0.8866, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001373/0.001373, allocations: 232.6 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6776/0.6776, allocations: 138.4 MB / 455.1 MB, free: 30.08 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.6475 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.978e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.2701/0.2701, allocations: 1.778 MB / 0.6492 GB, free: 56.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002813/0.2704, allocations: 118.1 kB / 0.6493 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/0.2704, allocations: 6.938 kB / 0.6493 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.497e-05/0.2705, allocations: 18.09 kB / 0.6493 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.802e-05/0.2706, allocations: 52.23 kB / 0.6494 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.2707, allocations: 36.42 kB / 0.6494 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2709, allocations: 179.9 kB / 0.6496 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.271, allocations: 20.67 kB / 0.6496 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.2711, allocations: 77.66 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.2712, allocations: 53.7 kB / 0.6497 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.2712, allocations: 10.34 kB / 0.6498 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.2712, allocations: 15 kB / 0.6498 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.2713, allocations: 25.55 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.2713, allocations: 44.69 kB / 0.6498 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.2715, allocations: 132.1 kB / 0.65 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2715, allocations: 1.875 kB / 0.65 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2715, allocations: 0 / 0.65 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2715, allocations: 0.7188 kB / 0.65 GB, free: 56.09 MB / 0.5573 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.0004648/0.272, allocations: 380.1 kB / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.272, allocations: 14.31 kB / 0.6503 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.272, allocations: 16.61 kB / 0.6504 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.2722, allocations: 146.1 kB / 0.6505 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-06/0.2722, allocations: 2.875 kB / 0.6505 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2722, allocations: 9.562 kB / 0.6505 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2724, allocations: 117.3 kB / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2724, allocations: 6.031 kB / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2724, allocations: 5.094 kB / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2725, allocations: 2.625 kB / 0.6506 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2726, allocations: 96.41 kB / 0.6507 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.273, allocations: 389 kB / 0.6511 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.2733, allocations: 131.1 kB / 0.6512 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.466e-05/0.2734, allocations: 57 kB / 0.6513 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2734, allocations: 5.609 kB / 0.6513 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.205e-05/0.2734, allocations: 33.06 kB / 0.6513 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2734, allocations: 0.7812 kB / 0.6513 GB, free: 55.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0003449/0.2738, allocations: 182.9 kB / 0.6515 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2738, allocations: 80.2 kB / 0.6516 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.2739, allocations: 160.5 kB / 0.6517 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.2739, allocations: 30 kB / 0.6517 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.2739, allocations: 109.8 kB / 0.6519 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.2739, allocations: 31.97 kB / 0.6519 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.274, allocations: 26.64 kB / 0.6519 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.564e-05/0.274, allocations: 323.1 kB / 0.6522 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.2741, allocations: 45.23 kB / 0.6523 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.2742, allocations: 61.25 kB / 0.6523 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.2743, allocations: 105.6 kB / 0.6524 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2743, allocations: 0 / 0.6524 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000192/0.2745, allocations: 145.7 kB / 0.6526 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2745, allocations: 5.969 kB / 0.6526 GB, free: 54.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2745, allocations: 4.5 kB / 0.6526 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2745, allocations: 2.891 kB / 0.6526 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.2746, allocations: 23.53 kB / 0.6526 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2746, allocations: 3 kB / 0.6526 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.2747, allocations: 15.42 kB / 0.6526 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2747, allocations: 6.5 kB / 0.6526 GB, free: 54.39 MB / 0.5573 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 5.126e-05/0.2747, allocations: 121.8 kB / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.2748, allocations: 14.27 kB / 0.6527 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.275, allocations: 156.1 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.275, allocations: 2.812 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.275, allocations: 1.594 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.275, allocations: 1.266 kB / 0.6529 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2751, allocations: 161.3 kB / 0.6531 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2751, allocations: 1.562 kB / 0.6531 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.2752, allocations: 25.33 kB / 0.6531 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2752, allocations: 0 / 0.6531 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.2752, allocations: 5.094 kB / 0.6531 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.2752, allocations: 0.875 kB / 0.6531 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2752, allocations: 1.781 kB / 0.6531 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.2754, allocations: 303.8 kB / 0.6534 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.2754, allocations: 22.78 kB / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2754, allocations: 2.859 kB / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.2755, allocations: 14.56 kB / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.2756, allocations: 10.14 kB / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2756, allocations: 3.594 kB / 0.6534 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.2756, allocations: 119.3 kB / 0.6535 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2756, allocations: 0 / 0.6535 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001826/0.2758, allocations: 28.31 kB / 0.6536 GB, free: 53.8 MB / 0.5573 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 6.614e-05/0.2759, allocations: 101.4 kB / 0.6537 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.2761, allocations: 101.5 kB / 0.6538 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.2761, allocations: 0 / 0.6538 GB, free: 53.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.863e-05/0.2761, allocations: 50.36 kB / 0.6538 GB, free: 53.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2764, allocations: 48.17 kB / 0.6539 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.2767, allocations: 258.3 kB / 0.6541 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.544e-05/0.2768, allocations: 98.88 kB / 0.6542 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.2768, allocations: 13.88 kB / 0.6542 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of SimCode: time 3.7e-07/0.2768, allocations: 1.688 kB / 0.6542 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of Templates: time 0.002465/0.2793, allocations: 1.753 MB / 0.6559 GB, free: 53.28 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.190718047320843] Failed to read output from testmodel.py, exit status != 0: 0.28457191213965416 0.29176568099999994 0.018778213000000002 Calling exit ...