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.00164/0.00164, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001857/0.001857, allocations: 161.5 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.00268/0.00268, allocations: 237.8 kB / 259.4 MB, free: 492 kB / 238.1 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 1.067/1.067, allocations: 138.4 MB / 454.3 MB, free: 2.004 MB / 366.1 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.202e-06/1.202e-06, allocations: 0 / 0.6467 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.991e-05, allocations: 5.797 kB / 0.6467 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002871/0.002891, allocations: 1.791 MB / 0.6485 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002978/0.003189, allocations: 111.6 kB / 0.6486 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.003268, allocations: 7.938 kB / 0.6486 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.003372, allocations: 15.86 kB / 0.6486 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.003478, allocations: 51.48 kB / 0.6487 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.003598, allocations: 31.95 kB / 0.6487 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.003837, allocations: 187 kB / 0.6489 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.48e-05/0.003932, allocations: 17.23 kB / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.004067, allocations: 79.81 kB / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.004177, allocations: 59.86 kB / 0.649 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.004208, allocations: 12 kB / 0.649 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.004236, allocations: 8 kB / 0.649 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.004268, allocations: 19.92 kB / 0.6491 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.021e-05/0.004338, allocations: 47.91 kB / 0.6491 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.004517, allocations: 127.6 kB / 0.6492 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.004521, allocations: 4 kB / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004521, allocations: 0 / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004525, allocations: 0 / 0.6492 GB, free: 2.492 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.0007431/0.005268, allocations: 377.7 kB / 0.6496 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.005302, allocations: 8.75 kB / 0.6496 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.005347, allocations: 16.84 kB / 0.6496 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.005581, allocations: 153.5 kB / 0.6498 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.005596, allocations: 8.359 kB / 0.6498 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.005615, allocations: 8.375 kB / 0.6498 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.005913, allocations: 119.8 kB / 0.6499 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.005923, allocations: 8.125 kB / 0.6499 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.005938, allocations: 4.375 kB / 0.6499 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.005942, allocations: 384 / 0.6499 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003419/0.006284, allocations: 99.8 kB / 0.65 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000681/0.006965, allocations: 388.5 kB / 0.6504 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.007363, allocations: 125.2 kB / 0.6505 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.007538, allocations: 57.78 kB / 0.6505 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.007558, allocations: 0 / 0.6505 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.00759, allocations: 42.55 kB / 0.6506 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.007591, allocations: 0 / 0.6506 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0006205/0.008212, allocations: 181.5 kB / 0.6508 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.008268, allocations: 85.05 kB / 0.6508 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.008425, allocations: 158.6 kB / 0.651 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.008447, allocations: 25.7 kB / 0.651 GB, free: 492 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.008527, allocations: 120 kB / 0.6511 GB, free: 368 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.008562, allocations: 35.69 kB / 0.6512 GB, free: 332 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.008613, allocations: 17.72 kB / 0.6512 GB, free: 308 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2216/0.2302, allocations: 322.8 kB / 0.6515 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.2304, allocations: 39.06 kB / 0.6515 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.2306, allocations: 60.91 kB / 0.6516 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.2309, allocations: 104.6 kB / 0.6517 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2309, allocations: 0 / 0.6517 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000372/0.2312, allocations: 146.6 kB / 0.6518 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2313, allocations: 10.23 kB / 0.6518 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2313, allocations: 0 / 0.6518 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.2313, allocations: 0 / 0.6518 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2314, allocations: 24.05 kB / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2314, allocations: 8.719 kB / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2316, allocations: 8.094 kB / 0.6519 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2316, allocations: 5 kB / 0.6519 GB, free: 56.45 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 6.84e-05/0.2316, allocations: 122 kB / 0.652 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.2317, allocations: 15.58 kB / 0.652 GB, free: 56.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.2321, allocations: 155.1 kB / 0.6522 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2321, allocations: 3.469 kB / 0.6522 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2321, allocations: 5.469 kB / 0.6522 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2321, allocations: 0 / 0.6522 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.2323, allocations: 152.5 kB / 0.6523 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2323, allocations: 0 / 0.6523 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2325, allocations: 30.42 kB / 0.6523 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2325, allocations: 1.906 kB / 0.6523 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2325, allocations: 2.672 kB / 0.6523 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2325, allocations: 3.938 kB / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2325, allocations: 0 / 0.6524 GB, free: 56.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.2328, allocations: 312.2 kB / 0.6526 GB, free: 55.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.2329, allocations: 16.09 kB / 0.6527 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.2329, allocations: 3.469 kB / 0.6527 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2331, allocations: 8.312 kB / 0.6527 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.2331, allocations: 16.17 kB / 0.6527 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2331, allocations: 9.562 kB / 0.6527 GB, free: 55.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.2332, allocations: 119.1 kB / 0.6528 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2332, allocations: 0 / 0.6528 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002915/0.2335, allocations: 28.25 kB / 0.6528 GB, free: 55.88 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.657e-05/0.2335, allocations: 100.2 kB / 0.6529 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.2339, allocations: 99.06 kB / 0.653 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2339, allocations: 0 / 0.653 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.234, allocations: 60.75 kB / 0.6531 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2344, allocations: 33.55 kB / 0.6531 GB, free: 55.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.2348, allocations: 233 kB / 0.6533 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.2349, allocations: 89.39 kB / 0.6534 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.439e-05/0.235, allocations: 20.36 kB / 0.6534 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.235, allocations: 12.19 kB / 0.6535 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.235, allocations: 3.438 kB / 0.6535 GB, free: 55.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.004567/0.2396, allocations: 2.133 MB / 0.6555 GB, free: 55.42 MB / 0.5606 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.670382030308247] Failed to read output from testmodel.py, exit status != 0: 0.2468566708266735 0.2558179629999999 0.24914363399999995 Calling exit ...