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.001179/0.001179, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00132/0.00132, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.271/1.271, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.002363/0.002363, allocations: 281.6 kB / 312.7 MB, free: 2.828 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.09/1.09, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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 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: "" <> 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.002728/0.002728, allocations: 100.2 kB / 0.7396 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1474, allocations: 95.39 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002734/0.1502, allocations: 1.854 MB / 0.8345 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000268/0.1504, allocations: 119.9 kB / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.1505, allocations: 0 / 0.8346 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.717e-05/0.1506, allocations: 19.78 kB / 0.8346 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.232e-05/0.1507, allocations: 47.58 kB / 0.8347 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.1508, allocations: 35.95 kB / 0.8347 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.151, allocations: 175.1 kB / 0.8349 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.1511, allocations: 25.03 kB / 0.8349 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.1512, allocations: 55.84 kB / 0.835 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1513, allocations: 63.7 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.1513, allocations: 8 kB / 0.835 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.788e-05/0.1513, allocations: 12 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.1514, allocations: 23.91 kB / 0.8351 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.1514, allocations: 67.61 kB / 0.8351 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.1516, allocations: 135.4 kB / 0.8353 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1516, allocations: 4 kB / 0.8353 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1516, allocations: 0 / 0.8353 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1516, allocations: 0 / 0.8353 GB, free: 6.039 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.0007026/0.1523, allocations: 378.3 kB / 0.8356 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1524, allocations: 9.344 kB / 0.8356 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.1524, allocations: 38.75 kB / 0.8357 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1524, allocations: 20.84 kB / 0.8357 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1526, allocations: 138.4 kB / 0.8358 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1527, allocations: 12.31 kB / 0.8358 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1527, allocations: 8.359 kB / 0.8358 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.153, allocations: 123.8 kB / 0.836 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.153, allocations: 3.938 kB / 0.836 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.153, allocations: 4 kB / 0.836 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.153, allocations: 4 kB / 0.836 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.1533, allocations: 103.8 kB / 0.8361 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.1539, allocations: 439.8 kB / 0.8365 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1543, allocations: 125.2 kB / 0.8366 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.1544, allocations: 53.78 kB / 0.8367 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1545, allocations: 4 kB / 0.8367 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1545, allocations: 42.48 kB / 0.8367 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1545, allocations: 0 / 0.8367 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005304/0.155, allocations: 173.6 kB / 0.8369 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1551, allocations: 81.05 kB / 0.837 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1552, allocations: 172.1 kB / 0.8371 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1552, allocations: 37.69 kB / 0.8372 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.1553, allocations: 104 kB / 0.8373 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.1553, allocations: 31.81 kB / 0.8373 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1554, allocations: 25.67 kB / 0.8373 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1555, allocations: 334.8 kB / 0.8376 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1557, allocations: 47.91 kB / 0.8377 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.1558, allocations: 57.69 kB / 0.8377 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.1561, allocations: 105.6 kB / 0.8378 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1561, allocations: 192 / 0.8378 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003327/0.1564, allocations: 142 kB / 0.838 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1564, allocations: 11.92 kB / 0.838 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1564, allocations: 0 / 0.838 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1564, allocations: 4 kB / 0.838 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1566, allocations: 27.92 kB / 0.838 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1566, allocations: 0 / 0.838 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1567, allocations: 19.88 kB / 0.838 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1567, allocations: 0 / 0.838 GB, free: 2.984 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.202e-05/0.1568, allocations: 126.5 kB / 0.8381 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.1569, allocations: 11.91 kB / 0.8382 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.1572, allocations: 158.6 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1573, allocations: 0 / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1573, allocations: 0 / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1573, allocations: 7.938 kB / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.1575, allocations: 192.6 kB / 0.8385 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1575, allocations: 8 kB / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.1577, allocations: 19.98 kB / 0.8385 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1577, allocations: 0 / 0.8385 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1577, allocations: 3.938 kB / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1577, allocations: 0 / 0.8385 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1577, allocations: 4 kB / 0.8385 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1581, allocations: 318.8 kB / 0.8388 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.1581, allocations: 11.94 kB / 0.8388 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1581, allocations: 8 kB / 0.8389 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.1583, allocations: 7.984 kB / 0.8389 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1583, allocations: 11.92 kB / 0.8389 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.1583, allocations: 0 / 0.8389 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.411e-05/0.1584, allocations: 131.2 kB / 0.839 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1584, allocations: 4 kB / 0.839 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002709/0.1587, allocations: 31.95 kB / 0.839 GB, free: 1.871 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.0006416/0.1593, allocations: 0.8368 MB / 0.8399 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1596, allocations: 103.8 kB / 0.84 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1596, allocations: 3.938 kB / 0.84 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1598, allocations: 51.89 kB / 0.84 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1602, allocations: 44.36 kB / 0.84 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1623, allocations: 1.829 MB / 0.8418 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1626, allocations: 0.7006 MB / 0.8425 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.02e-05/0.1627, allocations: 16.64 kB / 0.8425 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.1627, allocations: 31.44 kB / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.1627, allocations: 0 / 0.8426 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.1931, allocations: 3.809 MB / 0.8463 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.06/10.25, allocations: 9.953 kB / 0.8463 GB, free: 10.5 MB / 0.5919 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 13.857365567004308] Failed to read output from testmodel.py, exit status != 0: 10.354067950043827 10.372549339 10.217541629 Calling exit ...