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.004077/0.004077, allocations: 101.5 kB / 15.73 MB, free: 5.992 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.0009808/0.0009808, allocations: 189.5 kB / 16.67 MB, free: 5.914 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 279 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9485/0.9485, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 100.2 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1586, allocations: 86.98 MB / 0.7664 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002514/0.1612, allocations: 1.597 MB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1623, allocations: 0.6665 MB / 0.7686 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.1624, allocations: 0 / 0.7686 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1627, allocations: 71.59 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004356/0.1631, allocations: 167.4 kB / 0.7688 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.332e-05/0.1632, allocations: 4 kB / 0.7688 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1634, allocations: 183.3 kB / 0.769 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1634, allocations: 16.86 kB / 0.769 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1636, allocations: 71.69 kB / 0.7691 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1637, allocations: 91.66 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1637, allocations: 4 kB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.164, allocations: 135.8 kB / 0.7693 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.1641, allocations: 63.81 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.1642, allocations: 83.47 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1644, allocations: 231.2 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1645, allocations: 3.938 kB / 0.7696 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.846e-06/0.1645, allocations: 3.984 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1645, allocations: 0 / 0.7696 GB, free: 5.094 MB / 0.5606 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.0005184/0.165, allocations: 466.9 kB / 0.7701 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.165, allocations: 8.031 kB / 0.7701 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.1651, allocations: 24.59 kB / 0.7701 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1652, allocations: 184.1 kB / 0.7703 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1652, allocations: 16.31 kB / 0.7703 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1653, allocations: 12.36 kB / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004531/0.1657, allocations: 358.9 kB / 0.7707 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1657, allocations: 0 / 0.7707 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.1658, allocations: 11.97 kB / 0.7707 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.1659, allocations: 68.22 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.1662, allocations: 221.7 kB / 0.771 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.1676, allocations: 0.9832 MB / 0.7719 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1678, allocations: 211.9 kB / 0.7721 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.168, allocations: 109.2 kB / 0.7722 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.168, allocations: 0 / 0.7722 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.168, allocations: 34.56 kB / 0.7723 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 1.353e-06/0.168, allocations: 4 kB / 0.7723 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0005131/0.1685, allocations: 374.4 kB / 0.7726 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.1686, allocations: 59.34 kB / 0.7727 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.1687, allocations: 140 kB / 0.7728 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1687, allocations: 33.69 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.1688, allocations: 152.1 kB / 0.773 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.1689, allocations: 134 kB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-05/0.169, allocations: 69.64 kB / 0.7732 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1691, allocations: 334.8 kB / 0.7735 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1692, allocations: 104.5 kB / 0.7736 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.1695, allocations: 230.8 kB / 0.7738 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.1699, allocations: 392 kB / 0.7742 GB, free: 60 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1699, allocations: 4 kB / 0.7742 GB, free: 56 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.3/0.4698, allocations: 389.6 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4699, allocations: 6.797 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.4699, allocations: 4.562 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.47, allocations: 7.984 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.4701, allocations: 41.66 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.4702, allocations: 12.23 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.4703, allocations: 34.8 kB / 0.7747 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.4703, allocations: 29.33 kB / 0.7747 GB, free: 14.91 MB / 0.5606 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.0001264/0.4705, allocations: 156.2 kB / 0.7748 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.4705, allocations: 13.47 kB / 0.7749 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003963/0.4709, allocations: 279.6 kB / 0.7751 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-05/0.471, allocations: 27.45 kB / 0.7751 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.471, allocations: 3.031 kB / 0.7751 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.471, allocations: 1.266 kB / 0.7752 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.4718, allocations: 0.6308 MB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4719, allocations: 1.312 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.831e-05/0.4719, allocations: 11.2 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4719, allocations: 2.109 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4719, allocations: 9.469 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4719, allocations: 6.891 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4719, allocations: 3.938 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.4723, allocations: 385.7 kB / 0.7762 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.4723, allocations: 95.66 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.4724, allocations: 9.156 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.4725, allocations: 1.797 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4725, allocations: 24.19 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.4726, allocations: 17.44 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.4726, allocations: 106.5 kB / 0.7764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4726, allocations: 2.406 kB / 0.7764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003775/0.473, allocations: 66.45 kB / 0.7765 GB, free: 14.09 MB / 0.5606 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.0002567/0.4733, allocations: 139.5 kB / 0.7766 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004114/0.4737, allocations: 281.6 kB / 0.7769 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4737, allocations: 0 / 0.7769 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.4739, allocations: 125.5 kB / 0.777 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.4741, allocations: 13.44 kB / 0.777 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.4748, allocations: 466.7 kB / 0.7775 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.475, allocations: 0.7587 MB / 0.7782 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.4752, allocations: 78.22 kB / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.4753, allocations: 37.48 kB / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4753, allocations: 0 / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.004192/0.4795, allocations: 1.62 MB / 0.7799 GB, free: 12.98 MB / 0.5606 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)