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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 117.8 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002729/0.002729, allocations: 277.4 kB / 303.6 MB, free: 3.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 180.9 MB / 0.5268 GB, free: 2.684 MB / 382.1 MB " [Timeout remaining time 178] 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=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 0.002832/0.002832, allocations: 99.84 kB / 0.7259 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7884, allocations: 94.15 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003322/0.7917, allocations: 1.825 MB / 0.8196 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.792, allocations: 122 kB / 0.8197 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.657e-05/0.7921, allocations: 5.906 kB / 0.8197 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.7922, allocations: 15.09 kB / 0.8197 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.249e-05/0.7923, allocations: 48.31 kB / 0.8198 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.7925, allocations: 32.72 kB / 0.8198 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.7927, allocations: 178.2 kB / 0.82 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.7929, allocations: 15.97 kB / 0.82 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.793, allocations: 58.06 kB / 0.8201 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.7931, allocations: 76.81 kB / 0.8201 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.7931, allocations: 9.438 kB / 0.8201 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.7932, allocations: 10.5 kB / 0.8202 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.175e-05/0.7932, allocations: 24.39 kB / 0.8202 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.7933, allocations: 63.44 kB / 0.8202 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.7935, allocations: 122.2 kB / 0.8204 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7935, allocations: 0 / 0.8204 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.544e-06/0.7935, allocations: 4.625 kB / 0.8204 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.7935, allocations: 3.938 kB / 0.8204 GB, free: 5.734 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.0007651/0.7943, allocations: 458.3 kB / 0.8208 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7943, allocations: 9.312 kB / 0.8208 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.7944, allocations: 16.09 kB / 0.8208 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.7946, allocations: 206.5 kB / 0.821 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.7946, allocations: 7.156 kB / 0.821 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.7947, allocations: 9.703 kB / 0.821 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.7949, allocations: 125.8 kB / 0.8212 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.795, allocations: 192 / 0.8212 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.795, allocations: 5.469 kB / 0.8212 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.795, allocations: 1.5 kB / 0.8212 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.7953, allocations: 94.75 kB / 0.8213 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006981/0.796, allocations: 476.9 kB / 0.8217 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.7964, allocations: 129.5 kB / 0.8218 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.7966, allocations: 56.92 kB / 0.8219 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.7966, allocations: 1.188 kB / 0.8219 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.7966, allocations: 31.88 kB / 0.8219 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.7966, allocations: 0 / 0.8219 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006334/0.7972, allocations: 187.2 kB / 0.8221 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7973, allocations: 78.91 kB / 0.8222 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.7975, allocations: 168.5 kB / 0.8223 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.7975, allocations: 30.77 kB / 0.8224 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.7975, allocations: 104.7 kB / 0.8225 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.7976, allocations: 31.52 kB / 0.8225 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.7976, allocations: 28.47 kB / 0.8225 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.7977, allocations: 327.4 kB / 0.8228 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.7979, allocations: 45.62 kB / 0.8229 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.798, allocations: 57.92 kB / 0.8229 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.7983, allocations: 104.9 kB / 0.823 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7983, allocations: 192 / 0.823 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003446/0.7987, allocations: 147 kB / 0.8232 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7987, allocations: 12.61 kB / 0.8232 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.7987, allocations: 0 / 0.8232 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7987, allocations: 0 / 0.8232 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.7989, allocations: 25.95 kB / 0.8232 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.7989, allocations: 8.984 kB / 0.8232 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.799, allocations: 17.48 kB / 0.8232 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.799, allocations: 6.781 kB / 0.8232 GB, free: 3.422 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 8.12e-05/0.7991, allocations: 124.5 kB / 0.8234 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.164e-05/0.7991, allocations: 13.66 kB / 0.8234 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.7996, allocations: 160.1 kB / 0.8235 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7996, allocations: 0 / 0.8235 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7996, allocations: 1.891 kB / 0.8235 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.7996, allocations: 1.734 kB / 0.8235 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.7999, allocations: 228.8 kB / 0.8237 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.7999, allocations: 0 / 0.8237 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.8, allocations: 23.33 kB / 0.8238 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8, allocations: 0.5156 kB / 0.8238 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.8, allocations: 192 / 0.8238 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8, allocations: 11.39 kB / 0.8238 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8, allocations: 0 / 0.8238 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.8004, allocations: 310.3 kB / 0.8241 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.8005, allocations: 93.11 kB / 0.8242 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.8005, allocations: 1.562 kB / 0.8242 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.8007, allocations: 19.36 kB / 0.8242 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.8007, allocations: 5.578 kB / 0.8242 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.8007, allocations: 7.656 kB / 0.8242 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.545e-05/0.8008, allocations: 129.9 kB / 0.8243 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.8008, allocations: 0 / 0.8243 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002846/0.8011, allocations: 32.09 kB / 0.8243 GB, free: 2.516 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.0001132/0.8012, allocations: 102 kB / 0.8244 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.8016, allocations: 100.8 kB / 0.8245 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8016, allocations: 0 / 0.8245 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.8018, allocations: 51.53 kB / 0.8246 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.8022, allocations: 52 kB / 0.8246 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.8027, allocations: 255.4 kB / 0.8249 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.8029, allocations: 0.7023 MB / 0.8256 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.803, allocations: 18.02 kB / 0.8256 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.803, allocations: 4 kB / 0.8256 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of Templates: time 0.004531/0.8075, allocations: 1.763 MB / 0.8273 GB, free: 1.312 MB / 0.5762 GB " [Timeout remaining time 659] 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: 9.559695590054616] Failed to read output from testmodel.py, exit status != 0: 0.8162987809628248 0.833597316 0.036770827 Calling exit ...