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.00121/0.00121, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001275/0.001275, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.304/1.304, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 179] 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.002313/0.002313, allocations: 291 kB / 309.1 MB, free: 3.98 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.084/1.084, allocations: 180.9 MB / 0.5333 GB, free: 13.74 MB / 382.1 MB " [Timeout remaining time 179] 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.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: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) [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.002618/0.002618, allocations: 100.3 kB / 0.7342 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1456, allocations: 95.35 MB / 0.8273 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.00274/0.1484, allocations: 1.839 MB / 0.8291 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002574/0.1486, allocations: 123.9 kB / 0.8292 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.1487, allocations: 7.938 kB / 0.8292 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.056e-05/0.1488, allocations: 15.8 kB / 0.8293 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.1489, allocations: 59.48 kB / 0.8293 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.149, allocations: 31.95 kB / 0.8293 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1492, allocations: 163.2 kB / 0.8295 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1493, allocations: 28.83 kB / 0.8295 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.1493, allocations: 51.84 kB / 0.8296 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.1494, allocations: 71.69 kB / 0.8296 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1495, allocations: 12 kB / 0.8297 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.1495, allocations: 8 kB / 0.8297 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.1495, allocations: 35.84 kB / 0.8297 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.484e-05/0.1496, allocations: 63.67 kB / 0.8298 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.1497, allocations: 123.5 kB / 0.8299 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1497, allocations: 0 / 0.8299 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1497, allocations: 0 / 0.8299 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1497, allocations: 0 / 0.8299 GB, free: 7.254 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.0007217/0.1505, allocations: 454.8 kB / 0.8303 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1505, allocations: 12.03 kB / 0.8303 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.1505, allocations: 34.75 kB / 0.8304 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.1506, allocations: 16.84 kB / 0.8304 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1508, allocations: 208.8 kB / 0.8306 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1508, allocations: 4.375 kB / 0.8306 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1508, allocations: 8.375 kB / 0.8306 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.1511, allocations: 125.8 kB / 0.8307 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.1511, allocations: 3.938 kB / 0.8307 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1511, allocations: 4 kB / 0.8307 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1511, allocations: 0 / 0.8307 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.1514, allocations: 95.86 kB / 0.8308 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.1521, allocations: 476.8 kB / 0.8313 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1525, allocations: 121.2 kB / 0.8314 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.1527, allocations: 61.78 kB / 0.8314 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1527, allocations: 0 / 0.8314 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1527, allocations: 42.5 kB / 0.8315 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 7.91e-07/0.1527, allocations: 0 / 0.8315 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000567/0.1533, allocations: 177.5 kB / 0.8316 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.1533, allocations: 89.05 kB / 0.8317 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1535, allocations: 167.9 kB / 0.8319 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1535, allocations: 25.7 kB / 0.8319 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.1536, allocations: 112 kB / 0.832 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1536, allocations: 31.7 kB / 0.832 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.1536, allocations: 25.7 kB / 0.8321 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1538, allocations: 334.8 kB / 0.8324 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.1539, allocations: 35.97 kB / 0.8324 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1541, allocations: 57.69 kB / 0.8325 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1544, allocations: 105.6 kB / 0.8326 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1544, allocations: 7.938 kB / 0.8326 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003607/0.1547, allocations: 137.6 kB / 0.8327 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1547, allocations: 7.938 kB / 0.8327 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1547, allocations: 4 kB / 0.8327 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1547, allocations: 0 / 0.8327 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.1549, allocations: 19.98 kB / 0.8328 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1549, allocations: 4 kB / 0.8328 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.155, allocations: 23.88 kB / 0.8328 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.155, allocations: 7.984 kB / 0.8328 GB, free: 4.004 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 9.257e-05/0.1551, allocations: 116.7 kB / 0.8329 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.1552, allocations: 16.28 kB / 0.8329 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.1556, allocations: 158.7 kB / 0.8331 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1556, allocations: 8.047 kB / 0.8331 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1556, allocations: 3.984 kB / 0.8331 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1556, allocations: 3.938 kB / 0.8331 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.1559, allocations: 225.6 kB / 0.8333 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1559, allocations: 0 / 0.8333 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.1561, allocations: 27.91 kB / 0.8333 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1561, allocations: 0 / 0.8333 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1561, allocations: 4 kB / 0.8333 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1561, allocations: 4 kB / 0.8333 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1561, allocations: 0 / 0.8333 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.1565, allocations: 314.7 kB / 0.8336 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.1565, allocations: 93.05 kB / 0.8337 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1566, allocations: 4 kB / 0.8337 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.1567, allocations: 4 kB / 0.8337 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1568, allocations: 19.92 kB / 0.8337 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1568, allocations: 4 kB / 0.8337 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.913e-05/0.1569, allocations: 128.2 kB / 0.8339 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1569, allocations: 0 / 0.8339 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000275/0.1572, allocations: 31.95 kB / 0.8339 GB, free: 2.766 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.0007098/0.1579, allocations: 0.8406 MB / 0.8347 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003447/0.1582, allocations: 103.9 kB / 0.8348 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1582, allocations: 0 / 0.8348 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.1584, allocations: 55.91 kB / 0.8349 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.1588, allocations: 50.86 kB / 0.8349 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.1611, allocations: 1.818 MB / 0.8367 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1614, allocations: 0.7045 MB / 0.8374 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.495e-05/0.1615, allocations: 16.64 kB / 0.8374 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.168e-05/0.1615, allocations: 35.42 kB / 0.8374 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.1615, allocations: 0 / 0.8374 GB, free: 15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.1883, allocations: 3.672 MB / 0.841 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.679, allocations: 8 kB / 0.841 GB, free: 11.52 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.349128936883062] Failed to read output from testmodel.py, exit status != 0: 7.7428616946563125 7.756528247 7.6041871 Calling exit ...