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.00159/0.00159, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001691/0.001691, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 281.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 91.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3955, allocations: 86.97 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.003152/0.3988, allocations: 1.603 MB / 0.7686 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.4, allocations: 0.6716 MB / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.875e-05/0.4001, allocations: 0 / 0.7692 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003129/0.4004, allocations: 67.38 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.4009, allocations: 167.4 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.553e-05/0.4009, allocations: 4 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002313/0.4011, allocations: 183.3 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.167e-05/0.4012, allocations: 8.875 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.4014, allocations: 83.61 kB / 0.7697 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.4015, allocations: 91.64 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.4015, allocations: 8 kB / 0.7698 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.4018, allocations: 115.8 kB / 0.7699 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.014e-05/0.4019, allocations: 75.8 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.402, allocations: 75.55 kB / 0.7701 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.4023, allocations: 245.7 kB / 0.7703 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4023, allocations: 3.938 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4023, allocations: 0 / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.4023, allocations: 0 / 0.7703 GB, free: 0.5664 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.0005001/0.4028, allocations: 462.9 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4029, allocations: 8.031 kB / 0.7708 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.4029, allocations: 20.66 kB / 0.7708 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.4031, allocations: 180.1 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4031, allocations: 16.36 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.4031, allocations: 20.3 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.4036, allocations: 355.5 kB / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4036, allocations: 0 / 0.7713 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.4036, allocations: 7.984 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.4038, allocations: 64.28 kB / 0.7714 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.4041, allocations: 225 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.4054, allocations: 0.9831 MB / 0.7726 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.4057, allocations: 212 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.4058, allocations: 117.1 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.4058, allocations: 3.984 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.4059, allocations: 34.56 kB / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.4059, allocations: 0 / 0.7729 GB, free: 13.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.0005122/0.4064, allocations: 366.6 kB / 0.7733 GB, free: 13.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.4064, allocations: 55.41 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4066, allocations: 152 kB / 0.7735 GB, free: 13.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4066, allocations: 29.7 kB / 0.7735 GB, free: 13.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.4067, allocations: 152.1 kB / 0.7736 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/0.4068, allocations: 130.1 kB / 0.7738 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.4069, allocations: 77.56 kB / 0.7738 GB, free: 12.69 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.407, allocations: 322.8 kB / 0.7741 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.4072, allocations: 116.4 kB / 0.7743 GB, free: 12.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.4074, allocations: 226.8 kB / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4078, allocations: 401.2 kB / 0.7749 GB, free: 11.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4078, allocations: 0 / 0.7749 GB, free: 11.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004804/0.4083, allocations: 385.4 kB / 0.7752 GB, free: 11.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4083, allocations: 8 kB / 0.7752 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4083, allocations: 4 kB / 0.7752 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.4084, allocations: 4 kB / 0.7752 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.4085, allocations: 39.92 kB / 0.7753 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.4085, allocations: 11.92 kB / 0.7753 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.4087, allocations: 43.52 kB / 0.7753 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4087, allocations: 20 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.0001752/0.4089, allocations: 160.1 kB / 0.7755 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4089, allocations: 23.78 kB / 0.7755 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.4093, allocations: 283.7 kB / 0.7758 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.4e-05/0.4094, allocations: 27.98 kB / 0.7758 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.764e-05/0.4095, allocations: 7.875 kB / 0.7758 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4095, allocations: 0 / 0.7758 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008489/0.4103, allocations: 0.6306 MB / 0.7764 GB, free: 9.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4103, allocations: 4 kB / 0.7765 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.4104, allocations: 8 kB / 0.7765 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.4104, allocations: 3.938 kB / 0.7765 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.4104, allocations: 15.97 kB / 0.7765 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4104, allocations: 0 / 0.7765 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4104, allocations: 0 / 0.7765 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.4108, allocations: 382.7 kB / 0.7768 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.4109, allocations: 104.7 kB / 0.7769 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.4109, allocations: 4 kB / 0.7769 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.109e-05/0.411, allocations: 3.984 kB / 0.7769 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.411, allocations: 15.98 kB / 0.777 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.4111, allocations: 19.98 kB / 0.777 GB, free: 9.234 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.046e-05/0.4111, allocations: 106.2 kB / 0.7771 GB, free: 9.133 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4112, allocations: 0 / 0.7771 GB, free: 9.133 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003723/0.4115, allocations: 63.92 kB / 0.7771 GB, free: 9.07 MB / 0.545 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.0003033/0.4118, allocations: 135.2 kB / 0.7773 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.4123, allocations: 291.4 kB / 0.7776 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4123, allocations: 0 / 0.7776 GB, free: 8.645 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.4125, allocations: 119.9 kB / 0.7777 GB, free: 8.527 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4127, allocations: 11.98 kB / 0.7777 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006882/0.4134, allocations: 499.8 kB / 0.7782 GB, free: 8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.4138, allocations: 0.7562 MB / 0.7789 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.414, allocations: 55.41 kB / 0.7789 GB, free: 7.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.414, allocations: 0 / 0.7789 GB, free: 7.16 MB / 0.545 GB Notification: Performance of Templates: time 0.004212/0.4182, allocations: 2.456 MB / 0.7813 GB, free: 4.715 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)