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.0009005/0.0009005, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.0009073/0.0009073, allocations: 181 kB / 23.36 MB, free: 1.129 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.962/0.962, allocations: 177.2 MB / 203.8 MB, free: 5.492 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.001631/0.001631, allocations: 246.1 kB / 260.5 MB, free: 12.71 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.6486/0.6486, allocations: 138.4 MB / 402.2 MB, free: 0.5938 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.472e-06/1.472e-06, allocations: 0 / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.104e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.00278/0.002801, allocations: 1.634 MB / 463.9 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004132, allocations: 0.6961 MB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.004185, allocations: 1.438 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.004436, allocations: 63.5 kB / 464.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004412/0.004877, allocations: 170.5 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.065e-05/0.004918, allocations: 1.906 kB / 464.8 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.005201, allocations: 186.2 kB / 465 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.005238, allocations: 7.266 kB / 465 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.005453, allocations: 117.9 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.005567, allocations: 80.83 kB / 465.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.005582, allocations: 7.875 kB / 465.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.005783, allocations: 118.6 kB / 465.3 MB, free: 15.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.005855, allocations: 77.66 kB / 465.4 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.005894, allocations: 47.95 kB / 465.5 MB, free: 15.12 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.006117, allocations: 225.9 kB / 465.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006119, allocations: 1.406 kB / 465.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00612, allocations: 0 / 465.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.006123, allocations: 1.688 kB / 465.7 MB, free: 15.05 MB / 426.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.0002971/0.006421, allocations: 369.2 kB / 466 MB, free: 14.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.536e-05/0.006446, allocations: 11.53 kB / 466.1 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.006582, allocations: 32.41 kB / 466.1 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.453e-05/0.006646, allocations: 125.5 kB / 466.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.006659, allocations: 10.09 kB / 466.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.006677, allocations: 18.52 kB / 466.2 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.006878, allocations: 227 kB / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.006886, allocations: 192 / 466.5 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006899, allocations: 12.36 kB / 466.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-05/0.00698, allocations: 61.02 kB / 466.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.007062, allocations: 95.33 kB / 466.6 MB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.007766, allocations: 0.8646 MB / 467.5 MB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.887e-05/0.007865, allocations: 107.5 kB / 467.6 MB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.007898, allocations: 34.27 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.007907, allocations: 5.125 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.007925, allocations: 39.38 kB / 467.7 MB, free: 13.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 9.72e-07/0.007926, allocations: 5.844 kB / 467.7 MB, free: 13.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.0001815/0.008108, allocations: 159.4 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.434e-05/0.008132, allocations: 51.41 kB / 467.9 MB, free: 12.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.008199, allocations: 148.9 kB / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.008211, allocations: 29.69 kB / 468.1 MB, free: 12.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.008264, allocations: 161.8 kB / 468.2 MB, free: 12.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.008321, allocations: 134.8 kB / 468.3 MB, free: 12.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.008374, allocations: 65.62 kB / 468.4 MB, free: 12.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.008445, allocations: 332.3 kB / 468.7 MB, free: 12.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.008487, allocations: 47.3 kB / 468.8 MB, free: 12.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.008571, allocations: 154.4 kB / 468.9 MB, free: 11.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.008737, allocations: 255 kB / 469.2 MB, free: 11.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.00874, allocations: 3.938 kB / 469.2 MB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0001857/0.008926, allocations: 223.8 kB / 469.4 MB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.008937, allocations: 8 kB / 469.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.008944, allocations: 6.953 kB / 469.4 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.008957, allocations: 4 kB / 469.4 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.009028, allocations: 39.92 kB / 469.5 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009034, allocations: 9.172 kB / 469.5 MB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.0091, allocations: 39.72 kB / 469.5 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.00912, allocations: 16 kB / 469.5 MB, free: 11.19 MB / 426.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 6.908e-05/0.009189, allocations: 141.2 kB / 469.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.00921, allocations: 9.484 kB / 469.7 MB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.009338, allocations: 136.6 kB / 469.8 MB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/0.009378, allocations: 21.62 kB / 469.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.009379, allocations: 0.75 kB / 469.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.009382, allocations: 1.5 kB / 469.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.009757, allocations: 437.9 kB / 470.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.009758, allocations: 0 / 470.3 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.009777, allocations: 8 kB / 470.3 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.009779, allocations: 0.9062 kB / 470.3 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.009787, allocations: 8.797 kB / 470.3 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009788, allocations: 1.031 kB / 470.3 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009789, allocations: 0 / 470.3 MB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.009933, allocations: 289.9 kB / 470.6 MB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.633e-05/0.009949, allocations: 28.83 kB / 470.6 MB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.009963, allocations: 3.984 kB / 470.6 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.01, allocations: 5.875 kB / 470.6 MB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.01002, allocations: 16.48 kB / 470.6 MB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.01004, allocations: 15.98 kB / 470.6 MB, free: 10.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.848e-05/0.01005, allocations: 31.77 kB / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01005, allocations: 0 / 470.7 MB, free: 10.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.01026, allocations: 65.62 kB / 470.7 MB, free: 9.953 MB / 426.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.0001463/0.01041, allocations: 121.9 kB / 470.8 MB, free: 9.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00015/0.01056, allocations: 149.1 kB / 471 MB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/0.01057, allocations: 5.406 kB / 471 MB, free: 9.676 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.245e-05/0.01062, allocations: 60.75 kB / 471.1 MB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.01073, allocations: 22.11 kB / 471.1 MB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003624/0.01109, allocations: 403.3 kB / 471.5 MB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.712e-05/0.01115, allocations: 96.47 kB / 471.6 MB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.01128, allocations: 75.22 kB / 471.6 MB, free: 9.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.01136, allocations: 83.45 kB / 471.7 MB, free: 8.934 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01136, allocations: 0.9375 kB / 471.7 MB, free: 8.934 MB / 426.7 MB Notification: Performance of Templates: time 0.002961/0.01432, allocations: 1.609 MB / 473.3 MB, free: 7.465 MB / 426.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.3628562330268323]