Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.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.001351/0.001351, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001597/0.001597, allocations: 213.5 kB / 22.25 MB, free: 4.855 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.476/1.476, allocations: 230.6 MB / 256 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.00261/0.00261, allocations: 284.7 kB / 312.7 MB, free: 2.617 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.26/1.26, allocations: 180.6 MB / 0.5369 GB, free: 14.65 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: translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") [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.003097/0.003097, allocations: 109.7 kB / 0.74 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1549, allocations: 95.37 MB / 0.8331 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002796/0.1577, allocations: 1.574 MB / 0.8346 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.1589, allocations: 0.6482 MB / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.159, allocations: 0 / 0.8353 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.1592, allocations: 59.67 kB / 0.8353 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1596, allocations: 175.4 kB / 0.8355 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.696e-05/0.1596, allocations: 8 kB / 0.8355 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.1598, allocations: 175.3 kB / 0.8357 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.189e-05/0.1599, allocations: 5.312 kB / 0.8357 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1601, allocations: 87.67 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1602, allocations: 95.55 kB / 0.8358 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1602, allocations: 8 kB / 0.8358 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.1605, allocations: 123.8 kB / 0.836 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.1606, allocations: 67.8 kB / 0.836 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.1606, allocations: 67.61 kB / 0.8361 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.161, allocations: 243 kB / 0.8363 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.161, allocations: 4 kB / 0.8363 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.161, allocations: 0 / 0.8363 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.161, allocations: 0 / 0.8363 GB, free: 4.539 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005386/0.1615, allocations: 393.4 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1615, allocations: 13.94 kB / 0.8367 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.1618, allocations: 24.8 kB / 0.8367 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1619, allocations: 126.3 kB / 0.8369 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1619, allocations: 12.36 kB / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.1619, allocations: 24.3 kB / 0.8369 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.1625, allocations: 355.3 kB / 0.8372 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1625, allocations: 4 kB / 0.8372 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1625, allocations: 0 / 0.8372 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.1626, allocations: 68.22 kB / 0.8373 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.163, allocations: 217.8 kB / 0.8375 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.1644, allocations: 0.905 MB / 0.8384 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1646, allocations: 118.9 kB / 0.8385 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.1648, allocations: 93.14 kB / 0.8386 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1648, allocations: 8 kB / 0.8386 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.1648, allocations: 30.56 kB / 0.8386 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.1648, allocations: 0 / 0.8386 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005759/0.1654, allocations: 370.6 kB / 0.839 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.1655, allocations: 59.34 kB / 0.839 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.1656, allocations: 157.6 kB / 0.8392 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1656, allocations: 25.7 kB / 0.8392 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.1657, allocations: 156.5 kB / 0.8394 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1659, allocations: 142.7 kB / 0.8395 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.166, allocations: 69.62 kB / 0.8396 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1661, allocations: 334.8 kB / 0.8399 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.1663, allocations: 112.3 kB / 0.84 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.1665, allocations: 234.4 kB / 0.8402 GB, free: 308 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.167, allocations: 392 kB / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.167, allocations: 0 / 0.8406 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005575/0.1676, allocations: 389 kB / 0.841 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1676, allocations: 8 kB / 0.841 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1676, allocations: 4 kB / 0.841 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1676, allocations: 4 kB / 0.841 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1678, allocations: 43.91 kB / 0.841 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.1678, allocations: 8.469 kB / 0.841 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1679, allocations: 47.66 kB / 0.8411 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.1679, allocations: 20 kB / 0.8411 GB, free: 15.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (32): * Single equations (assignments): 20 * Array equations: 12 * 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.0001506/0.1681, allocations: 157.7 kB / 0.8412 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.1681, allocations: 19.86 kB / 0.8413 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.1686, allocations: 276.7 kB / 0.8415 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/0.1686, allocations: 27.97 kB / 0.8416 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1686, allocations: 0 / 0.8416 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1687, allocations: 7.922 kB / 0.8416 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/0.1695, allocations: 0.5599 MB / 0.8421 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1695, allocations: 0 / 0.8421 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.1696, allocations: 15.98 kB / 0.8421 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1696, allocations: 0 / 0.8421 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.1696, allocations: 7.984 kB / 0.8421 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.1696, allocations: 7.938 kB / 0.8421 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1696, allocations: 0 / 0.8421 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004477/0.1701, allocations: 383 kB / 0.8425 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.1701, allocations: 23.8 kB / 0.8425 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1701, allocations: 7.969 kB / 0.8425 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.718e-05/0.1702, allocations: 7.938 kB / 0.8425 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1702, allocations: 11.98 kB / 0.8426 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.1703, allocations: 23.98 kB / 0.8426 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.508e-05/0.1704, allocations: 105.5 kB / 0.8427 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1704, allocations: 0 / 0.8427 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003619/0.1707, allocations: 59.92 kB / 0.8427 GB, free: 13.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (17): * Single equations (assignments): 5 * Array equations: 12 * 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.0002692/0.171, allocations: 143.1 kB / 0.8429 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004331/0.1714, allocations: 271.7 kB / 0.8431 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1714, allocations: 0 / 0.8431 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.1716, allocations: 104 kB / 0.8432 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1718, allocations: 14.05 kB / 0.8432 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007378/0.1725, allocations: 472.6 kB / 0.8437 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.1727, allocations: 149.4 kB / 0.8438 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.173, allocations: 89.34 kB / 0.8439 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.1731, allocations: 35.42 kB / 0.844 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.1731, allocations: 4 kB / 0.844 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of Templates: time 0.004848/0.1779, allocations: 1.6 MB / 0.8455 GB, free: 10.7 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9849110171198845] Failed to read output from testmodel.py, exit status != 0: 0.18503978848457336 0.20092615600000002 0.036794293000000006 Calling exit ...