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.001454/0.001454, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001619/0.001619, allocations: 213.9 kB / 22.99 MB, free: 4.945 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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.002738/0.002738, allocations: 300.2 kB / 313.5 MB, free: 2.695 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.374/1.374, allocations: 180.6 MB / 0.5377 GB, free: 14.44 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 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.003028/0.003028, allocations: 109.1 kB / 0.7407 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2079, allocations: 95.38 MB / 0.8338 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003164/0.2111, allocations: 1.784 MB / 0.8356 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003315/0.2114, allocations: 119.6 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.2115, allocations: 0 / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.2116, allocations: 15.8 kB / 0.8357 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.2117, allocations: 51.55 kB / 0.8358 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.2118, allocations: 31.95 kB / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.2121, allocations: 175.1 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2122, allocations: 29 kB / 0.836 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.856e-05/0.2123, allocations: 55.8 kB / 0.836 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.2124, allocations: 59.75 kB / 0.8361 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.2125, allocations: 8 kB / 0.8361 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.2125, allocations: 15.94 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.2126, allocations: 31.84 kB / 0.8361 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.2126, allocations: 47.8 kB / 0.8362 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.2128, allocations: 127.5 kB / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2128, allocations: 0 / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2128, allocations: 0 / 0.8363 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2128, allocations: 4 kB / 0.8363 GB, free: 5.262 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.0008071/0.2136, allocations: 381.5 kB / 0.8367 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.2137, allocations: 12.73 kB / 0.8367 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.2137, allocations: 16.84 kB / 0.8367 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.214, allocations: 142.4 kB / 0.8368 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.214, allocations: 12.38 kB / 0.8369 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.214, allocations: 4.375 kB / 0.8369 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.2144, allocations: 121.9 kB / 0.837 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2144, allocations: 4.188 kB / 0.837 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2144, allocations: 7.938 kB / 0.837 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2144, allocations: 0 / 0.837 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2147, allocations: 91.92 kB / 0.8371 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.2154, allocations: 396.5 kB / 0.8375 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.2158, allocations: 121.2 kB / 0.8376 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.216, allocations: 61.78 kB / 0.8376 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.216, allocations: 3.984 kB / 0.8376 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.216, allocations: 34.56 kB / 0.8377 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.216, allocations: 4 kB / 0.8377 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000625/0.2166, allocations: 181.6 kB / 0.8378 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.2167, allocations: 81.05 kB / 0.8379 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.2169, allocations: 160 kB / 0.8381 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2169, allocations: 29.7 kB / 0.8381 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.217, allocations: 112 kB / 0.8382 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.217, allocations: 27.73 kB / 0.8382 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.2171, allocations: 29.67 kB / 0.8383 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2173, allocations: 330.8 kB / 0.8386 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2174, allocations: 39.97 kB / 0.8386 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2176, allocations: 61.61 kB / 0.8387 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2179, allocations: 110.1 kB / 0.8388 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2179, allocations: 0 / 0.8388 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003563/0.2182, allocations: 149.5 kB / 0.8389 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2182, allocations: 4 kB / 0.8389 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2182, allocations: 3.984 kB / 0.8389 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2183, allocations: 0 / 0.8389 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2184, allocations: 27.97 kB / 0.839 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2184, allocations: 0 / 0.839 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.2185, allocations: 15.95 kB / 0.839 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.2185, allocations: 7.984 kB / 0.839 GB, free: 2.316 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.0001173/0.2187, allocations: 122.4 kB / 0.8391 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/0.2187, allocations: 11.95 kB / 0.8391 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004401/0.2192, allocations: 158.6 kB / 0.8393 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2192, allocations: 0 / 0.8393 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2192, allocations: 0 / 0.8393 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2192, allocations: 3.984 kB / 0.8393 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.2194, allocations: 165.2 kB / 0.8394 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2194, allocations: 0 / 0.8394 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2196, allocations: 19.98 kB / 0.8394 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2196, allocations: 192 / 0.8394 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2196, allocations: 4 kB / 0.8394 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.2196, allocations: 7.984 kB / 0.8394 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2196, allocations: 0 / 0.8394 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004386/0.22, allocations: 310.6 kB / 0.8397 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.577e-05/0.2201, allocations: 15.91 kB / 0.8398 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/0.2201, allocations: 4 kB / 0.8398 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.2203, allocations: 7.984 kB / 0.8398 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.2203, allocations: 11.92 kB / 0.8398 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.2203, allocations: 8 kB / 0.8398 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001103/0.2204, allocations: 120 kB / 0.8399 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2204, allocations: 0 / 0.8399 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002885/0.2207, allocations: 24 kB / 0.8399 GB, free: 1.277 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.0001154/0.2208, allocations: 105.3 kB / 0.84 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.2212, allocations: 103.9 kB / 0.8401 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2212, allocations: 0 / 0.8401 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2214, allocations: 47.97 kB / 0.8402 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2218, allocations: 40.33 kB / 0.8402 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.2223, allocations: 269.2 kB / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.789e-05/0.2224, allocations: 89.19 kB / 0.8406 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.2225, allocations: 15.44 kB / 0.8406 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2225, allocations: 0 / 0.8406 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of Templates: time 0.003791/0.2263, allocations: 1.759 MB / 0.8423 GB, free: 14.82 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.018500316888094] Failed to read output from testmodel.py, exit status != 0: 0.23426086828112602 0.24976498900000002 0.033801285 Calling exit ...