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.001664/0.001664, allocations: 78.58 kB / 19 MB, free: 2.867 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.001911/0.001911, allocations: 162.9 kB / 22.26 MB, free: 5.129 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 / 202.6 MB, free: 9.262 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.002467/0.002467, allocations: 233 kB / 259.2 MB, free: 0.5781 MB / 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.062/1.062, allocations: 138.5 MB / 454.2 MB, free: 2.055 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: 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.003114/0.003114, allocations: 99.84 kB / 0.6466 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3887, allocations: 95.35 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003051/0.3918, allocations: 1.782 MB / 0.7414 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002901/0.3921, allocations: 111.7 kB / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.832e-05/0.3922, allocations: 0 / 0.7415 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.3923, allocations: 15.8 kB / 0.7415 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3924, allocations: 55.55 kB / 0.7416 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.3925, allocations: 35.95 kB / 0.7416 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.3927, allocations: 167.1 kB / 0.7418 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.3928, allocations: 29.06 kB / 0.7418 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.393, allocations: 87.75 kB / 0.7419 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3931, allocations: 59.75 kB / 0.742 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3931, allocations: 8 kB / 0.742 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.773e-05/0.3931, allocations: 12 kB / 0.742 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.3932, allocations: 27.86 kB / 0.742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.3932, allocations: 47.78 kB / 0.742 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3934, allocations: 136.5 kB / 0.7422 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3934, allocations: 0 / 0.7422 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3934, allocations: 0 / 0.7422 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3934, allocations: 0 / 0.7422 GB, free: 12.67 MB / 0.5762 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.0007845/0.3942, allocations: 381.6 kB / 0.7425 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3942, allocations: 8.75 kB / 0.7425 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.3943, allocations: 24.83 kB / 0.7426 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.3945, allocations: 151.8 kB / 0.7427 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3946, allocations: 4.375 kB / 0.7427 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3946, allocations: 8.375 kB / 0.7427 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3949, allocations: 123.8 kB / 0.7428 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3949, allocations: 192 / 0.7428 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3949, allocations: 7.938 kB / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3949, allocations: 0 / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.3952, allocations: 103.8 kB / 0.743 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.3959, allocations: 392.5 kB / 0.7433 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.3963, allocations: 121.2 kB / 0.7434 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3965, allocations: 57.78 kB / 0.7435 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.3965, allocations: 4 kB / 0.7435 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3966, allocations: 42.55 kB / 0.7435 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3966, allocations: 3.938 kB / 0.7435 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006203/0.3972, allocations: 181.5 kB / 0.7437 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.3972, allocations: 77.11 kB / 0.7438 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3974, allocations: 161.6 kB / 0.7439 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.3974, allocations: 29.7 kB / 0.744 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.3975, allocations: 112.1 kB / 0.7441 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3975, allocations: 27.73 kB / 0.7441 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.3976, allocations: 25.67 kB / 0.7441 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3978, allocations: 326.8 kB / 0.7444 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3979, allocations: 43.97 kB / 0.7445 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3981, allocations: 57.67 kB / 0.7445 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.3984, allocations: 105.7 kB / 0.7446 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3984, allocations: 0 / 0.7446 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003728/0.3988, allocations: 141.9 kB / 0.7448 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3988, allocations: 6.812 kB / 0.7448 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3988, allocations: 4 kB / 0.7448 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3988, allocations: 0 / 0.7448 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.399, allocations: 31.91 kB / 0.7448 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.399, allocations: 4 kB / 0.7448 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3991, allocations: 19.89 kB / 0.7448 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3991, allocations: 0 / 0.7448 GB, free: 9.723 MB / 0.5762 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 0.0001042/0.3992, allocations: 121.8 kB / 0.745 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.3993, allocations: 11.95 kB / 0.745 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.3997, allocations: 154.7 kB / 0.7451 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3997, allocations: 4 kB / 0.7451 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3997, allocations: 0 / 0.7451 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3997, allocations: 0 / 0.7451 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.4, allocations: 165.2 kB / 0.7453 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4, allocations: 0 / 0.7453 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4001, allocations: 19.98 kB / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4001, allocations: 192 / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.4001, allocations: 0 / 0.7453 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.4002, allocations: 11.92 kB / 0.7453 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4002, allocations: 7.922 kB / 0.7453 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.4006, allocations: 310.9 kB / 0.7456 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.4006, allocations: 11.91 kB / 0.7456 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4007, allocations: 7.875 kB / 0.7456 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4008, allocations: 15.97 kB / 0.7456 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.4009, allocations: 7.984 kB / 0.7457 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.4009, allocations: 4 kB / 0.7457 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000105/0.401, allocations: 122.1 kB / 0.7458 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.401, allocations: 0 / 0.7458 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003108/0.4013, allocations: 31.94 kB / 0.7458 GB, free: 8.676 MB / 0.5762 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 0.0001097/0.4014, allocations: 99.25 kB / 0.7459 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.4018, allocations: 103.9 kB / 0.746 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4018, allocations: 0 / 0.746 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.402, allocations: 52.22 kB / 0.746 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.4024, allocations: 36.14 kB / 0.7461 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.4029, allocations: 239.5 kB / 0.7463 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.403, allocations: 89.31 kB / 0.7464 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.468e-05/0.4031, allocations: 8.5 kB / 0.7464 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.4032, allocations: 16.5 kB / 0.7464 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4032, allocations: 0 / 0.7464 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of Templates: time 0.005522/0.4087, allocations: 2.166 MB / 0.7485 GB, free: 5.902 MB / 0.5762 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.819930417463183] Failed to read output from testmodel.py, exit status != 0: 0.41719121113419533 0.431264128 0.034833536000000005 Calling exit ...