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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 101.7 kB / 19.59 MB, free: 2.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 191.8 kB / 22.85 MB, free: 5.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 225.6 MB / 251.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.002421/0.002421, allocations: 288.1 kB / 307 MB, free: 8.363 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.222/1.222, allocations: 180.8 MB / 0.5304 GB, free: 14.53 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002758/0.002758, allocations: 101.3 kB / 0.7311 GB, free: 38.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 94.21 MB / 0.8231 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002598/0.1566, allocations: 1.605 MB / 0.8246 GB, free: 468 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1578, allocations: 0.6831 MB / 0.8253 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.1578, allocations: 4 kB / 0.8253 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.158, allocations: 63.59 kB / 0.8254 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.1584, allocations: 175.4 kB / 0.8255 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.153e-05/0.1584, allocations: 0 / 0.8255 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.1586, allocations: 183.3 kB / 0.8257 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.1587, allocations: 9.062 kB / 0.8257 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.1588, allocations: 79.67 kB / 0.8258 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.159, allocations: 99.62 kB / 0.8259 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.159, allocations: 8 kB / 0.8259 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.1592, allocations: 123.8 kB / 0.826 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.652e-05/0.1593, allocations: 63.81 kB / 0.8261 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.1594, allocations: 87.41 kB / 0.8262 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.1597, allocations: 231 kB / 0.8264 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.1597, allocations: 4 kB / 0.8264 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1597, allocations: 3.938 kB / 0.8264 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1597, allocations: 0 / 0.8264 GB, free: 14.65 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.0005322/0.1603, allocations: 397.3 kB / 0.8268 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.1603, allocations: 8.031 kB / 0.8268 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.1604, allocations: 20.8 kB / 0.8268 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.566e-05/0.1605, allocations: 126.3 kB / 0.8269 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1605, allocations: 12.38 kB / 0.8269 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.1605, allocations: 12.36 kB / 0.8269 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.161, allocations: 356.1 kB / 0.8273 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.161, allocations: 0 / 0.8273 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.161, allocations: 12 kB / 0.8273 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.1611, allocations: 64.27 kB / 0.8274 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.1614, allocations: 217.8 kB / 0.8276 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1629, allocations: 0.9669 MB / 0.8285 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1631, allocations: 118.9 kB / 0.8286 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.1632, allocations: 93.14 kB / 0.8287 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1632, allocations: 7.984 kB / 0.8287 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.1632, allocations: 30.56 kB / 0.8287 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.323e-06/0.1632, allocations: 4 kB / 0.8287 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005612/0.1638, allocations: 367.2 kB / 0.8291 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1639, allocations: 63.39 kB / 0.8292 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.164, allocations: 147.2 kB / 0.8293 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.164, allocations: 33.69 kB / 0.8293 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.1641, allocations: 152.5 kB / 0.8295 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1642, allocations: 138.7 kB / 0.8296 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.313e-05/0.1643, allocations: 73.61 kB / 0.8297 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1645, allocations: 338.8 kB / 0.83 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1646, allocations: 108.4 kB / 0.8301 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.1649, allocations: 230.3 kB / 0.8303 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1653, allocations: 396 kB / 0.8307 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1653, allocations: 4 kB / 0.8307 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000563/0.1659, allocations: 389.2 kB / 0.8311 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1659, allocations: 4 kB / 0.8311 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.1659, allocations: 4 kB / 0.8311 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1659, allocations: 8 kB / 0.8311 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1661, allocations: 35.92 kB / 0.8311 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.1661, allocations: 11.94 kB / 0.8311 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.1662, allocations: 35.67 kB / 0.8312 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.1662, allocations: 27.98 kB / 0.8312 GB, free: 9.398 MB / 0.5762 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.0001378/0.1664, allocations: 158 kB / 0.8313 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.1664, allocations: 15.86 kB / 0.8314 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.1668, allocations: 287.2 kB / 0.8316 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.701e-05/0.1669, allocations: 23.92 kB / 0.8317 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1669, allocations: 3.938 kB / 0.8317 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1669, allocations: 0 / 0.8317 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.1678, allocations: 0.6024 MB / 0.8323 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1678, allocations: 0 / 0.8323 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1678, allocations: 19.92 kB / 0.8323 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1678, allocations: 7.922 kB / 0.8323 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1678, allocations: 7.984 kB / 0.8323 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1678, allocations: 4 kB / 0.8323 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1678, allocations: 0 / 0.8323 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.1683, allocations: 375.1 kB / 0.8326 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.1683, allocations: 27.73 kB / 0.8327 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1683, allocations: 3.984 kB / 0.8327 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/0.1684, allocations: 4 kB / 0.8327 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1684, allocations: 23.95 kB / 0.8327 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.1685, allocations: 19.98 kB / 0.8327 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.445e-05/0.1685, allocations: 109 kB / 0.8328 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1685, allocations: 0 / 0.8328 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003311/0.1689, allocations: 55.92 kB / 0.8329 GB, free: 7.59 MB / 0.5762 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.0002327/0.1691, allocations: 147.1 kB / 0.833 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.1695, allocations: 271.4 kB / 0.8333 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1695, allocations: 0 / 0.8333 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1697, allocations: 107.9 kB / 0.8334 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.1699, allocations: 11.08 kB / 0.8334 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.1706, allocations: 472.8 kB / 0.8338 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.171, allocations: 0.7601 MB / 0.8346 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.1712, allocations: 81.41 kB / 0.8347 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.1713, allocations: 35.42 kB / 0.8347 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.1713, allocations: 0 / 0.8347 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.004814/0.1761, allocations: 1.866 MB / 0.8365 GB, free: 3.812 MB / 0.5762 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.893591995001771] Failed to read output from testmodel.py, exit status != 0: 0.1831076219677925 0.197045517 0.034468547 Calling exit ...