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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 116.4 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 290.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9529/0.9529, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 91.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4522, allocations: 86.97 MB / 0.767 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002731/0.455, allocations: 1.592 MB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.4562, allocations: 0.6755 MB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.4563, allocations: 4 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.4565, allocations: 71.36 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.4569, allocations: 163.4 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.184e-05/0.4569, allocations: 0 / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.4572, allocations: 179.3 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.4572, allocations: 12.88 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.4574, allocations: 87.61 kB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4576, allocations: 91.64 kB / 0.7698 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.4576, allocations: 8 kB / 0.7698 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.4578, allocations: 115.8 kB / 0.7699 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.984e-05/0.4579, allocations: 71.8 kB / 0.77 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.458, allocations: 75.55 kB / 0.7701 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.4583, allocations: 241.7 kB / 0.7703 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4583, allocations: 4 kB / 0.7703 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4583, allocations: 0 / 0.7703 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.4583, allocations: 4 kB / 0.7703 GB, free: 0.5742 MB / 0.5294 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.0006207/0.4589, allocations: 458.9 kB / 0.7708 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.459, allocations: 12.03 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.459, allocations: 16.66 kB / 0.7708 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.4592, allocations: 180.1 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4592, allocations: 16.36 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.4593, allocations: 16.3 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.4598, allocations: 363.5 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4598, allocations: 0 / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.4598, allocations: 7.984 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/0.46, allocations: 60.28 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.4603, allocations: 225 kB / 0.7716 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.4616, allocations: 0.9948 MB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.4618, allocations: 204 kB / 0.7728 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.462, allocations: 117.1 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.462, allocations: 4 kB / 0.7729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.462, allocations: 34.56 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.694e-06/0.4621, allocations: 0 / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0005286/0.4626, allocations: 366.6 kB / 0.7733 GB, free: 13.32 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.4627, allocations: 55.41 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.4628, allocations: 149.6 kB / 0.7735 GB, free: 13.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4628, allocations: 37.64 kB / 0.7735 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.463, allocations: 152.1 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.4632, allocations: 130.1 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.4633, allocations: 77.56 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4635, allocations: 322.8 kB / 0.7742 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.4637, allocations: 112.5 kB / 0.7743 GB, free: 12.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.4639, allocations: 230.7 kB / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.4643, allocations: 393.2 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4643, allocations: 4 kB / 0.7749 GB, free: 11.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004744/0.4648, allocations: 384.9 kB / 0.7752 GB, free: 11.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4648, allocations: 6.969 kB / 0.7752 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4649, allocations: 8 kB / 0.7752 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4649, allocations: 4.531 kB / 0.7752 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.465, allocations: 43.91 kB / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.465, allocations: 11.94 kB / 0.7753 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4652, allocations: 39.52 kB / 0.7753 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.4652, allocations: 24 kB / 0.7754 GB, free: 11.02 MB / 0.545 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.000203/0.4654, allocations: 160.7 kB / 0.7755 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.4655, allocations: 19.72 kB / 0.7755 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.4658, allocations: 279.8 kB / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4658, allocations: 0 / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4658, allocations: 7.938 kB / 0.7758 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.4659, allocations: 104.7 kB / 0.7759 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.4659, allocations: 7.984 kB / 0.7759 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.466, allocations: 0 / 0.7759 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.4661, allocations: 15.98 kB / 0.7759 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004821/0.4665, allocations: 364.4 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004874/0.467, allocations: 462 kB / 0.7767 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000131/0.4672, allocations: 123.9 kB / 0.7768 GB, free: 9.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.568e-05/0.4673, allocations: 99.27 kB / 0.7769 GB, free: 9.348 MB / 0.545 GB Notification: Performance of Backend: time 2.1e-07/0.4673, allocations: 0 / 0.7769 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007634/0.468, allocations: 296.4 kB / 0.7772 GB, free: 9.059 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008332/0.4689, allocations: 0.8058 MB / 0.778 GB, free: 8.207 MB / 0.545 GB Notification: Performance of Templates: time 0.005407/0.4743, allocations: 2.235 MB / 0.7802 GB, free: 5.992 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile (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)