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.0009189/0.0009189, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001431/0.001431, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 18.57 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 0.8979/0.8979, allocations: 177.1 MB / 203.4 MB, free: 5.594 MB / 186.7 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.001636/0.001636, allocations: 238 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7072/0.7072, allocations: 138.4 MB / 455.2 MB, free: 1.504 MB / 362.7 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.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.259e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.001723/0.001735, allocations: 1.628 MB / 0.5567 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.002598, allocations: 0.6971 MB / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.002646, allocations: 0 / 0.5574 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.002863, allocations: 47.73 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.003151, allocations: 179.1 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.877e-06/0.00316, allocations: 0 / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.003333, allocations: 183.2 kB / 0.5577 GB, free: 13.78 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.003366, allocations: 13.3 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.003527, allocations: 111.6 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.003638, allocations: 95.7 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.003656, allocations: 8 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.003844, allocations: 115.8 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.003915, allocations: 71.81 kB / 0.5581 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.003965, allocations: 51.8 kB / 0.5582 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.004199, allocations: 227.2 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004201, allocations: 0 / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004201, allocations: 4 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.004205, allocations: 0 / 0.5584 GB, free: 13.09 MB / 490.7 MB 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.0004481/0.004653, allocations: 0.4958 MB / 0.5589 GB, free: 12.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.004686, allocations: 8.75 kB / 0.5589 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.00484, allocations: 36.8 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.58e-05/0.004906, allocations: 136.3 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.004921, allocations: 12.36 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.004942, allocations: 16.36 kB / 0.5591 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.005196, allocations: 248.6 kB / 0.5593 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.005208, allocations: 4.125 kB / 0.5593 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.005222, allocations: 8.375 kB / 0.5593 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.52e-05/0.005307, allocations: 64.22 kB / 0.5594 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.005419, allocations: 97.86 kB / 0.5595 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.006428, allocations: 1.218 MB / 0.5607 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.006532, allocations: 75.38 kB / 0.5608 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.538e-05/0.006587, allocations: 47.98 kB / 0.5608 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.006601, allocations: 4 kB / 0.5608 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.00662, allocations: 45.39 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 1.012e-06/0.006621, allocations: 0 / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002731/0.006895, allocations: 219.6 kB / 0.5611 GB, free: 10.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.006917, allocations: 55.39 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.007018, allocations: 213.8 kB / 0.5613 GB, free: 9.898 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.007031, allocations: 33.69 kB / 0.5614 GB, free: 9.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.007099, allocations: 203.2 kB / 0.5616 GB, free: 9.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.007163, allocations: 142.8 kB / 0.5617 GB, free: 9.516 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.007235, allocations: 95.25 kB / 0.5618 GB, free: 9.414 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.007352, allocations: 0.5118 MB / 0.5623 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.007406, allocations: 40.47 kB / 0.5623 GB, free: 8.852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.007538, allocations: 233.3 kB / 0.5625 GB, free: 8.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.007751, allocations: 322 kB / 0.5628 GB, free: 8.16 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.007755, allocations: 4 kB / 0.5628 GB, free: 8.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002677/0.008022, allocations: 297 kB / 0.5631 GB, free: 7.859 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.008034, allocations: 7.938 kB / 0.5631 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.008042, allocations: 4 kB / 0.5631 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.008057, allocations: 8 kB / 0.5632 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.008139, allocations: 35.92 kB / 0.5632 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.008145, allocations: 4 kB / 0.5632 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.008217, allocations: 44.09 kB / 0.5632 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.008242, allocations: 27.98 kB / 0.5633 GB, free: 7.73 MB / 490.7 MB 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 7.442e-05/0.008317, allocations: 188.3 kB / 0.5634 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.008344, allocations: 19.89 kB / 0.5635 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004253/0.00877, allocations: 183.2 kB / 0.5636 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.232e-05/0.008812, allocations: 23.98 kB / 0.5637 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.008815, allocations: 0 / 0.5637 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.008818, allocations: 0 / 0.5637 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.009275, allocations: 0.5436 MB / 0.5642 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.009277, allocations: 0 / 0.5642 GB, free: 6.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.009299, allocations: 11.98 kB / 0.5642 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009301, allocations: 4 kB / 0.5642 GB, free: 6.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.00931, allocations: 4 kB / 0.5642 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.009311, allocations: 0 / 0.5642 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.009312, allocations: 0 / 0.5642 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.009522, allocations: 355.4 kB / 0.5645 GB, free: 6.332 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.441e-05/0.009537, allocations: 19.78 kB / 0.5646 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.009548, allocations: 0 / 0.5646 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.233e-05/0.009591, allocations: 15.92 kB / 0.5646 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.009613, allocations: 15.97 kB / 0.5646 GB, free: 6.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.009628, allocations: 15.98 kB / 0.5646 GB, free: 6.266 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.009675, allocations: 150.5 kB / 0.5648 GB, free: 6.121 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009675, allocations: 4 kB / 0.5648 GB, free: 6.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.009904, allocations: 63.88 kB / 0.5648 GB, free: 6.055 MB / 490.7 MB 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.0001478/0.01005, allocations: 139.1 kB / 0.5649 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.01026, allocations: 192.9 kB / 0.5651 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.01027, allocations: 0 / 0.5651 GB, free: 5.719 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.866e-05/0.01033, allocations: 83.5 kB / 0.5652 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01049, allocations: 19.97 kB / 0.5652 GB, free: 5.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.01089, allocations: 399.6 kB / 0.5656 GB, free: 5.195 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.388e-05/0.01094, allocations: 108.4 kB / 0.5657 GB, free: 5.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.01108, allocations: 73.56 kB / 0.5658 GB, free: 4.996 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.01114, allocations: 32.48 kB / 0.5658 GB, free: 4.965 MB / 490.7 MB Notification: Performance of SimCode: time 5e-07/0.01114, allocations: 4 kB / 0.5658 GB, free: 4.961 MB / 490.7 MB Notification: Performance of Templates: time 0.002818/0.01396, allocations: 1.493 MB / 0.5673 GB, free: 3.492 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5325486240908504]