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.001737/0.001737, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002115/0.002115, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.436/1.436, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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.002511/0.002511, allocations: 240.9 kB / 259.4 MB, free: 480 kB / 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.086/1.086, allocations: 138.4 MB / 454.3 MB, free: 1.965 MB / 366.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: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6467 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.722e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002533/0.00255, allocations: 1.575 MB / 0.6483 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003746, allocations: 0.6504 MB / 0.6489 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.003792, allocations: 0 / 0.6489 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.004027, allocations: 63.61 kB / 0.649 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003815/0.004408, allocations: 163.2 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.133e-05/0.00442, allocations: 0 / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.004651, allocations: 195.2 kB / 0.6493 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.737e-05/0.004688, allocations: 9.297 kB / 0.6493 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.004905, allocations: 111.6 kB / 0.6494 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.005074, allocations: 91.72 kB / 0.6495 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.005099, allocations: 8 kB / 0.6495 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.00533, allocations: 119.8 kB / 0.6497 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.005428, allocations: 75.73 kB / 0.6497 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.005498, allocations: 47.84 kB / 0.6498 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.005845, allocations: 255.2 kB / 0.65 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005848, allocations: 4 kB / 0.65 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.32e-07/0.005849, allocations: 7.938 kB / 0.65 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.005852, allocations: 0 / 0.65 GB, free: 1.684 MB / 0.5606 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.0005261/0.006379, allocations: 385.4 kB / 0.6504 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.00641, allocations: 9.344 kB / 0.6504 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.006634, allocations: 32.78 kB / 0.6504 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.006739, allocations: 121.5 kB / 0.6505 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.006767, allocations: 16.36 kB / 0.6506 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.006791, allocations: 12.36 kB / 0.6506 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005042/0.007295, allocations: 363.5 kB / 0.6509 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.007305, allocations: 192 / 0.6509 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.007323, allocations: 4.375 kB / 0.6509 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/0.007475, allocations: 72.2 kB / 0.651 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.007793, allocations: 217.1 kB / 0.6512 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2323/0.2401, allocations: 0.9121 MB / 0.6521 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.2403, allocations: 119.8 kB / 0.6522 GB, free: 56.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2404, allocations: 93.7 kB / 0.6523 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.2404, allocations: 0.7969 kB / 0.6523 GB, free: 56.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.2405, allocations: 39.47 kB / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 2.254e-06/0.2405, allocations: 0 / 0.6523 GB, free: 56.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.000469/0.2409, allocations: 372.3 kB / 0.6527 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.241, allocations: 51.41 kB / 0.6527 GB, free: 56.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.2411, allocations: 157.3 kB / 0.6529 GB, free: 56.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2411, allocations: 28.27 kB / 0.6529 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.2411, allocations: 158.1 kB / 0.6531 GB, free: 56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.2412, allocations: 138.6 kB / 0.6532 GB, free: 55.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-05/0.2412, allocations: 73.98 kB / 0.6533 GB, free: 55.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.245e-05/0.2413, allocations: 334.1 kB / 0.6536 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.2414, allocations: 103.9 kB / 0.6537 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2415, allocations: 234.4 kB / 0.6539 GB, free: 55.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2419, allocations: 390.7 kB / 0.6543 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2419, allocations: 0 / 0.6543 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003933/0.2422, allocations: 391.2 kB / 0.6547 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2423, allocations: 10.31 kB / 0.6547 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2423, allocations: 10.27 kB / 0.6547 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2423, allocations: 7.219 kB / 0.6547 GB, free: 55.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2424, allocations: 34.69 kB / 0.6547 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2424, allocations: 7.969 kB / 0.6547 GB, free: 55.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2425, allocations: 40.14 kB / 0.6548 GB, free: 55.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.2426, allocations: 27.66 kB / 0.6548 GB, free: 55.19 MB / 0.5606 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 9.103e-05/0.2427, allocations: 156.1 kB / 0.6549 GB, free: 55.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2427, allocations: 22.05 kB / 0.655 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.243, allocations: 284.6 kB / 0.6552 GB, free: 54.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-05/0.2431, allocations: 26.02 kB / 0.6553 GB, free: 54.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2431, allocations: 4.078 kB / 0.6553 GB, free: 54.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2431, allocations: 0 / 0.6553 GB, free: 54.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006554/0.2438, allocations: 0.5751 MB / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2438, allocations: 3.125 kB / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.2438, allocations: 6.906 kB / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2438, allocations: 1.156 kB / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.2438, allocations: 16.98 kB / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2438, allocations: 0 / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2438, allocations: 0 / 0.6558 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.2441, allocations: 384.6 kB / 0.6562 GB, free: 54.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.2441, allocations: 29.39 kB / 0.6562 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2441, allocations: 0.75 kB / 0.6562 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.693e-05/0.2442, allocations: 2.5 kB / 0.6562 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.2443, allocations: 20.95 kB / 0.6563 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.2443, allocations: 13.25 kB / 0.6563 GB, free: 54.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.2443, allocations: 108 kB / 0.6564 GB, free: 54.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2443, allocations: 4.531 kB / 0.6564 GB, free: 54.33 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003535/0.2447, allocations: 60.61 kB / 0.6564 GB, free: 54.32 MB / 0.5606 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.0002436/0.2449, allocations: 141.7 kB / 0.6566 GB, free: 54.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.2452, allocations: 259 kB / 0.6568 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2452, allocations: 4.625 kB / 0.6568 GB, free: 54.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2453, allocations: 110.1 kB / 0.6569 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.2456, allocations: 19.3 kB / 0.657 GB, free: 54.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.2461, allocations: 470.5 kB / 0.6574 GB, free: 53.92 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/0.2462, allocations: 147.7 kB / 0.6575 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001963/0.2464, allocations: 70.19 kB / 0.6576 GB, free: 53.84 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.2465, allocations: 44.89 kB / 0.6577 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.2465, allocations: 0 / 0.6577 GB, free: 53.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.004101/0.2506, allocations: 1.463 MB / 0.6591 GB, free: 53.71 MB / 0.5606 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.700152475386858] Failed to read output from testmodel.py, exit status != 0: 0.25799768790602684 0.26753691399999996 0.25927440699999993 Calling exit ...