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.001326/0.001326, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001551/0.001551, allocations: 219.2 kB / 23.01 MB, free: 4.605 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.002414/0.002414, allocations: 295.4 kB / 313.5 MB, free: 2.852 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.206/1.206, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.002869/0.002869, allocations: 93.14 kB / 0.7408 GB, free: 28.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1485, allocations: 95.39 MB / 0.8339 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002872/0.1513, allocations: 1.625 MB / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1527, allocations: 0.726 MB / 0.8362 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.1527, allocations: 4 kB / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.153, allocations: 59.64 kB / 0.8363 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.1534, allocations: 175.4 kB / 0.8365 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.218e-05/0.1534, allocations: 0 / 0.8365 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.1537, allocations: 179.3 kB / 0.8366 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.1537, allocations: 9.297 kB / 0.8366 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1539, allocations: 83.69 kB / 0.8367 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1541, allocations: 103.6 kB / 0.8368 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1541, allocations: 8 kB / 0.8368 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.1544, allocations: 131.8 kB / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.1545, allocations: 67.73 kB / 0.837 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.1546, allocations: 75.55 kB / 0.8371 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1549, allocations: 243 kB / 0.8373 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1549, allocations: 0 / 0.8373 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1549, allocations: 0 / 0.8373 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.1549, allocations: 3.938 kB / 0.8373 GB, free: 4.711 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.0005082/0.1554, allocations: 405.3 kB / 0.8377 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1554, allocations: 9.938 kB / 0.8377 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.1557, allocations: 28.8 kB / 0.8377 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1558, allocations: 122.3 kB / 0.8379 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.1558, allocations: 12.38 kB / 0.8379 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1558, allocations: 16.3 kB / 0.8379 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.1563, allocations: 363.2 kB / 0.8382 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1563, allocations: 4 kB / 0.8382 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1563, allocations: 0 / 0.8382 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/0.1565, allocations: 64.28 kB / 0.8383 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.1568, allocations: 221.7 kB / 0.8385 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.1582, allocations: 0.9669 MB / 0.8395 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1584, allocations: 121.4 kB / 0.8396 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1585, allocations: 93.14 kB / 0.8397 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1585, allocations: 11.98 kB / 0.8397 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1585, allocations: 30.56 kB / 0.8397 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.1585, allocations: 0 / 0.8397 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005643/0.1591, allocations: 370.6 kB / 0.8401 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1592, allocations: 51.41 kB / 0.8401 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1593, allocations: 153.6 kB / 0.8402 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1593, allocations: 29.69 kB / 0.8403 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.1594, allocations: 160.4 kB / 0.8404 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1595, allocations: 138.8 kB / 0.8406 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.1596, allocations: 77.61 kB / 0.8406 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1598, allocations: 330.8 kB / 0.841 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1599, allocations: 100.5 kB / 0.841 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1602, allocations: 234.4 kB / 0.8413 GB, free: 412 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004667/0.1607, allocations: 392 kB / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1607, allocations: 0 / 0.8416 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005358/0.1612, allocations: 385 kB / 0.842 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1612, allocations: 9.562 kB / 0.842 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1612, allocations: 4 kB / 0.842 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1612, allocations: 7.984 kB / 0.842 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.1614, allocations: 36.45 kB / 0.8421 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1614, allocations: 15.88 kB / 0.8421 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1615, allocations: 47.61 kB / 0.8421 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.1616, allocations: 27.98 kB / 0.8422 GB, free: 15.44 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.0001401/0.1617, allocations: 157.7 kB / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.1617, allocations: 15.91 kB / 0.8423 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.1621, allocations: 283.1 kB / 0.8426 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-05/0.1622, allocations: 19.98 kB / 0.8426 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.1622, allocations: 15.88 kB / 0.8426 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1622, allocations: 3.984 kB / 0.8426 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008809/0.1631, allocations: 0.6024 MB / 0.8432 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1631, allocations: 0 / 0.8432 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.1632, allocations: 4 kB / 0.8432 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1632, allocations: 7.938 kB / 0.8432 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1632, allocations: 11.97 kB / 0.8432 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1632, allocations: 0 / 0.8432 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1632, allocations: 0 / 0.8432 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004433/0.1636, allocations: 394.9 kB / 0.8436 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.1637, allocations: 27.72 kB / 0.8436 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1637, allocations: 3.984 kB / 0.8436 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1638, allocations: 8 kB / 0.8437 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.857e-05/0.1638, allocations: 11.97 kB / 0.8437 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.1638, allocations: 19.98 kB / 0.8437 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.1639, allocations: 109.1 kB / 0.8438 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1639, allocations: 0 / 0.8438 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003609/0.1643, allocations: 63.88 kB / 0.8439 GB, free: 13.62 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.0002727/0.1645, allocations: 135.2 kB / 0.844 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.1649, allocations: 264.3 kB / 0.8442 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1649, allocations: 0 / 0.8442 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.1651, allocations: 108.1 kB / 0.8443 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1653, allocations: 20.59 kB / 0.8444 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.1661, allocations: 0.4926 MB / 0.8448 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1665, allocations: 0.7639 MB / 0.8456 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.1666, allocations: 43.42 kB / 0.8456 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.1666, allocations: 0 / 0.8456 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of Templates: time 0.004545/0.1712, allocations: 2.464 MB / 0.848 GB, free: 9.273 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: 8.619152646046132] Failed to read output from testmodel.py, exit status != 0: 0.17843642109073699 0.194023088 0.036017937 Calling exit ...