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.002384/0.002384, allocations: 93.47 kB / 19.44 MB, free: 336 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.001971/0.001971, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 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.003305/0.003305, allocations: 245.8 kB / 259.8 MB, free: 12.86 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 1.185/1.185, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.894e-06/1.894e-06, allocations: 0 / 0.5543 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.147e-05/4.336e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.00491/0.004953, allocations: 1.605 MB / 0.5559 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.007496, allocations: 0.6815 MB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.007569, allocations: 8 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.007968, allocations: 47.73 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007849/0.008753, allocations: 183.1 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.027e-05/0.008773, allocations: 0 / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.009167, allocations: 179.2 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.009222, allocations: 13.28 kB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003716/0.009593, allocations: 111.6 kB / 0.557 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.009883, allocations: 91.72 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.009919, allocations: 4 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.01033, allocations: 115.8 kB / 0.5572 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.0105, allocations: 83.75 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.01062, allocations: 43.84 kB / 0.5574 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006529/0.01127, allocations: 259.2 kB / 0.5576 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.01128, allocations: 4 kB / 0.5576 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.01128, allocations: 0 / 0.5576 GB, free: 13.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.01129, allocations: 0 / 0.5576 GB, free: 13.49 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.001005/0.01229, allocations: 0.4915 MB / 0.5581 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.01234, allocations: 8.75 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/0.01283, allocations: 48.77 kB / 0.5581 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.01303, allocations: 132.3 kB / 0.5583 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.01307, allocations: 16.36 kB / 0.5583 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.01311, allocations: 12.38 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007329/0.01384, allocations: 256.5 kB / 0.5585 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.01386, allocations: 192 / 0.5585 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.01389, allocations: 4.359 kB / 0.5586 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002714/0.01416, allocations: 68.22 kB / 0.5586 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.01455, allocations: 105.1 kB / 0.5587 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.01764, allocations: 1.234 MB / 0.5599 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.01796, allocations: 71.36 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.01814, allocations: 56.06 kB / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.01816, allocations: 4 kB / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/0.01821, allocations: 37.33 kB / 0.5601 GB, free: 10.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.01822, allocations: 0 / 0.5601 GB, free: 10.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.0008491/0.01907, allocations: 230.6 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.01914, allocations: 51.41 kB / 0.5604 GB, free: 10.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003296/0.01947, allocations: 216.5 kB / 0.5606 GB, free: 10.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.01951, allocations: 29.69 kB / 0.5606 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.01972, allocations: 207.2 kB / 0.5608 GB, free: 10.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.01995, allocations: 138.8 kB / 0.5609 GB, free: 9.879 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.02017, allocations: 103.3 kB / 0.561 GB, free: 9.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004607/0.02063, allocations: 0.5079 MB / 0.5615 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.02082, allocations: 44.47 kB / 0.5616 GB, free: 9.207 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.02131, allocations: 237.3 kB / 0.5618 GB, free: 8.902 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.02213, allocations: 327 kB / 0.5621 GB, free: 8.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.02213, allocations: 0 / 0.5621 GB, free: 8.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009495/0.02308, allocations: 289 kB / 0.5624 GB, free: 8.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.02311, allocations: 8 kB / 0.5624 GB, free: 8.211 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.02313, allocations: 4 kB / 0.5624 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.02316, allocations: 4.531 kB / 0.5624 GB, free: 8.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.02344, allocations: 47.92 kB / 0.5624 GB, free: 8.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.02347, allocations: 15.86 kB / 0.5624 GB, free: 8.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.02373, allocations: 39.67 kB / 0.5625 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.437e-05/0.02381, allocations: 27.98 kB / 0.5625 GB, free: 8.074 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 0.000254/0.02407, allocations: 176.4 kB / 0.5627 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.02416, allocations: 15.91 kB / 0.5627 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.02479, allocations: 191.1 kB / 0.5629 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/0.02496, allocations: 27.98 kB / 0.5629 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.02496, allocations: 0 / 0.5629 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02497, allocations: 0 / 0.5629 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.02668, allocations: 0.5475 MB / 0.5634 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.02669, allocations: 0 / 0.5634 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-05/0.02677, allocations: 8 kB / 0.5634 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02677, allocations: 0 / 0.5634 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.0268, allocations: 7.984 kB / 0.5634 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.0268, allocations: 0 / 0.5634 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.02681, allocations: 7.984 kB / 0.5635 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.02755, allocations: 355.4 kB / 0.5638 GB, free: 6.672 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.0276, allocations: 19.78 kB / 0.5638 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.02763, allocations: 0 / 0.5638 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.0278, allocations: 7.984 kB / 0.5638 GB, free: 6.645 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.02786, allocations: 19.97 kB / 0.5638 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.02792, allocations: 15.98 kB / 0.5639 GB, free: 6.609 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001916/0.02811, allocations: 154.4 kB / 0.564 GB, free: 6.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02811, allocations: 0 / 0.564 GB, free: 6.461 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007098/0.02882, allocations: 67.88 kB / 0.5641 GB, free: 6.395 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.0004474/0.02926, allocations: 135.1 kB / 0.5642 GB, free: 6.254 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006615/0.02993, allocations: 191.9 kB / 0.5644 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.02993, allocations: 0 / 0.5644 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.03019, allocations: 87.55 kB / 0.5645 GB, free: 5.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.03062, allocations: 15.97 kB / 0.5645 GB, free: 5.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.03173, allocations: 412.5 kB / 0.5649 GB, free: 5.527 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.03202, allocations: 144.4 kB / 0.565 GB, free: 5.363 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004497/0.03247, allocations: 77.41 kB / 0.5651 GB, free: 5.289 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.03267, allocations: 44.48 kB / 0.5651 GB, free: 5.246 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03267, allocations: 0 / 0.5651 GB, free: 5.246 MB / 490.7 MB Notification: Performance of Templates: time 0.009212/0.04189, allocations: 1.492 MB / 0.5666 GB, free: 3.777 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: 5.801273775054142]