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.001329/0.001329, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001382/0.001382, allocations: 158.2 kB / 23.01 MB, free: 4.598 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.002516/0.002516, allocations: 233.1 kB / 260 MB, free: 464 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 0.9244/0.9244, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003115/0.003115, allocations: 106.5 kB / 0.6473 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3907, allocations: 95.34 MB / 0.7404 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002442/0.3931, allocations: 1.773 MB / 0.7421 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002579/0.3934, allocations: 119.8 kB / 0.7423 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.3934, allocations: 5.062 kB / 0.7423 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.522e-05/0.3935, allocations: 12.38 kB / 0.7423 GB, free: 16.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.3936, allocations: 57.16 kB / 0.7423 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.3937, allocations: 37.06 kB / 0.7424 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3939, allocations: 171.7 kB / 0.7425 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.394, allocations: 23.78 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.3941, allocations: 50.11 kB / 0.7426 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3942, allocations: 71.41 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.3942, allocations: 9.219 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 2.895e-05/0.3943, allocations: 10.06 kB / 0.7427 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.3943, allocations: 20.11 kB / 0.7427 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.3944, allocations: 61.56 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.3945, allocations: 126.3 kB / 0.7429 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3945, allocations: 0 / 0.7429 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3945, allocations: 0 / 0.7429 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.3945, allocations: 0 / 0.7429 GB, free: 15.81 MB / 0.5919 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.0006522/0.3952, allocations: 381.6 kB / 0.7432 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.3952, allocations: 13.59 kB / 0.7433 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.3953, allocations: 17.52 kB / 0.7433 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3954, allocations: 155.1 kB / 0.7434 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.3955, allocations: 2.719 kB / 0.7434 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.3955, allocations: 9.062 kB / 0.7434 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3957, allocations: 114.4 kB / 0.7435 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.3957, allocations: 1.125 kB / 0.7435 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3958, allocations: 9.125 kB / 0.7436 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3958, allocations: 5.875 kB / 0.7436 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3961, allocations: 105.5 kB / 0.7437 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.3966, allocations: 390.6 kB / 0.744 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.397, allocations: 124.9 kB / 0.7442 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3971, allocations: 59.91 kB / 0.7442 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3971, allocations: 3.141 kB / 0.7442 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.3e-05/0.3971, allocations: 40.47 kB / 0.7443 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3971, allocations: 0 / 0.7443 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0005486/0.3977, allocations: 174.2 kB / 0.7444 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.3977, allocations: 83.7 kB / 0.7445 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.3978, allocations: 164.7 kB / 0.7447 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.3978, allocations: 27.08 kB / 0.7447 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.3979, allocations: 109.5 kB / 0.7448 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.3979, allocations: 30.5 kB / 0.7448 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.398, allocations: 24.48 kB / 0.7448 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.948e-05/0.398, allocations: 327.1 kB / 0.7452 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3981, allocations: 43.62 kB / 0.7452 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.3983, allocations: 55.61 kB / 0.7452 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3985, allocations: 110.4 kB / 0.7454 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3985, allocations: 0 / 0.7454 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003308/0.3989, allocations: 137.3 kB / 0.7455 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3989, allocations: 5.5 kB / 0.7455 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3989, allocations: 2.031 kB / 0.7455 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3989, allocations: 384 / 0.7455 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.3991, allocations: 30.59 kB / 0.7455 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.3991, allocations: 2.031 kB / 0.7455 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3992, allocations: 20.11 kB / 0.7455 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3992, allocations: 3.406 kB / 0.7455 GB, free: 13.74 MB / 0.5919 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.804e-05/0.3993, allocations: 125.2 kB / 0.7457 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.3993, allocations: 9.453 kB / 0.7457 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.3997, allocations: 160 kB / 0.7458 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3997, allocations: 5.406 kB / 0.7458 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3997, allocations: 2.031 kB / 0.7458 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3997, allocations: 0.6562 kB / 0.7458 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3999, allocations: 152 kB / 0.746 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3999, allocations: 6.641 kB / 0.746 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.4, allocations: 23.61 kB / 0.746 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4001, allocations: 5.281 kB / 0.746 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4001, allocations: 1.734 kB / 0.746 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4001, allocations: 5.094 kB / 0.746 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4001, allocations: 4.797 kB / 0.746 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.4004, allocations: 312 kB / 0.7463 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.4004, allocations: 13.09 kB / 0.7463 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4005, allocations: 1.922 kB / 0.7463 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.4006, allocations: 12.34 kB / 0.7463 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.4007, allocations: 6.328 kB / 0.7464 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4007, allocations: 2.75 kB / 0.7464 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.4007, allocations: 120.7 kB / 0.7465 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4007, allocations: 5.281 kB / 0.7465 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002943/0.401, allocations: 32.31 kB / 0.7465 GB, free: 13.02 MB / 0.5919 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.015e-05/0.4011, allocations: 95.33 kB / 0.7466 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.4015, allocations: 102.1 kB / 0.7467 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4015, allocations: 0.7188 kB / 0.7467 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.4016, allocations: 54.27 kB / 0.7467 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.402, allocations: 43.59 kB / 0.7468 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.4024, allocations: 237.8 kB / 0.747 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.855e-05/0.4025, allocations: 93.8 kB / 0.7471 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.4025, allocations: 7.656 kB / 0.7471 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.4026, allocations: 18.59 kB / 0.7471 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4026, allocations: 0 / 0.7471 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.005077/0.4077, allocations: 2.159 MB / 0.7492 GB, free: 12.34 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.849762988975272] Failed to read output from testmodel.py, exit status != 0: 0.4155826390488073 0.426242827 0.029347764000000002 Calling exit ...