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.001372/0.001372, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001381/0.001381, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 284.6 kB / 291.3 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9505/0.9505, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 99.3 kB / 0.5959 GB, free: 4.098 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1505, allocations: 86.96 MB / 0.6808 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.003295/0.1538, allocations: 1.593 MB / 0.6824 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.155, allocations: 0.6705 MB / 0.683 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.1551, allocations: 0 / 0.683 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.1554, allocations: 67.92 kB / 0.6831 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.1558, allocations: 167.4 kB / 0.6833 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.191e-05/0.1559, allocations: 4 kB / 0.6833 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1561, allocations: 183.3 kB / 0.6834 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.1561, allocations: 9.109 kB / 0.6834 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1563, allocations: 75.75 kB / 0.6835 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.1564, allocations: 91.58 kB / 0.6836 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1564, allocations: 8 kB / 0.6836 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.1567, allocations: 115.9 kB / 0.6837 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.1568, allocations: 79.72 kB / 0.6838 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.738e-05/0.1569, allocations: 79.48 kB / 0.6839 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1571, allocations: 231.2 kB / 0.6841 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1571, allocations: 0 / 0.6841 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1571, allocations: 0 / 0.6841 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1571, allocations: 0 / 0.6841 GB, free: 9.758 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.0004731/0.1576, allocations: 462.9 kB / 0.6845 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1577, allocations: 8.031 kB / 0.6845 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1577, allocations: 20.66 kB / 0.6846 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1578, allocations: 188.1 kB / 0.6847 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.1579, allocations: 20.36 kB / 0.6848 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1579, allocations: 12.38 kB / 0.6848 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.1583, allocations: 354.8 kB / 0.6851 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1583, allocations: 0 / 0.6851 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1584, allocations: 7.984 kB / 0.6851 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.1585, allocations: 64.28 kB / 0.6852 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002546/0.1588, allocations: 221 kB / 0.6854 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.16, allocations: 0.9948 MB / 0.6864 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1602, allocations: 206.2 kB / 0.6866 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.1603, allocations: 109.2 kB / 0.6867 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1603, allocations: 4 kB / 0.6867 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.1604, allocations: 46.48 kB / 0.6867 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 1.362e-06/0.1604, allocations: 0 / 0.6867 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.0004898/0.1609, allocations: 374 kB / 0.6871 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1609, allocations: 51.41 kB / 0.6871 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.161, allocations: 151.9 kB / 0.6873 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.1611, allocations: 33.62 kB / 0.6873 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.1612, allocations: 156 kB / 0.6874 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.141e-05/0.1613, allocations: 130.1 kB / 0.6876 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.1613, allocations: 69.67 kB / 0.6876 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1615, allocations: 334.8 kB / 0.688 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.1616, allocations: 104.5 kB / 0.6881 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.1618, allocations: 230.7 kB / 0.6883 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1622, allocations: 393.3 kB / 0.6887 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1622, allocations: 0 / 0.6887 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004926/0.1627, allocations: 396.8 kB / 0.689 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1628, allocations: 8 kB / 0.689 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1628, allocations: 4 kB / 0.689 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1628, allocations: 4 kB / 0.689 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1629, allocations: 39.92 kB / 0.6891 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.1629, allocations: 11.94 kB / 0.6891 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.163, allocations: 28.03 kB / 0.6891 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.1631, allocations: 35.97 kB / 0.6892 GB, free: 4.199 MB / 0.5294 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.000129/0.1632, allocations: 154.6 kB / 0.6893 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1633, allocations: 19.8 kB / 0.6893 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.1636, allocations: 283.5 kB / 0.6896 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.597e-05/0.1637, allocations: 27.97 kB / 0.6896 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1637, allocations: 3.938 kB / 0.6896 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1637, allocations: 8 kB / 0.6896 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.1645, allocations: 0.6229 MB / 0.6902 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1645, allocations: 4 kB / 0.6902 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.1646, allocations: 4 kB / 0.6902 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.1646, allocations: 11.92 kB / 0.6903 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1646, allocations: 4 kB / 0.6903 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1646, allocations: 0 / 0.6903 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1646, allocations: 0 / 0.6903 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.165, allocations: 390.7 kB / 0.6906 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1651, allocations: 104.7 kB / 0.6907 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1651, allocations: 4 kB / 0.6907 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-05/0.1652, allocations: 3.984 kB / 0.6907 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1652, allocations: 15.97 kB / 0.6908 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.1653, allocations: 16 kB / 0.6908 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.1653, allocations: 117.8 kB / 0.6909 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1653, allocations: 3.938 kB / 0.6909 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003649/0.1657, allocations: 67.89 kB / 0.691 GB, free: 2.246 MB / 0.5294 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.0002735/0.166, allocations: 139.1 kB / 0.6911 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.1665, allocations: 319.5 kB / 0.6914 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1665, allocations: 5 kB / 0.6914 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1666, allocations: 123.9 kB / 0.6915 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1669, allocations: 18.73 kB / 0.6915 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.1676, allocations: 0.4946 MB / 0.692 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.1679, allocations: 0.764 MB / 0.6928 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.1681, allocations: 55.34 kB / 0.6928 GB, free: 280 kB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.1681, allocations: 0 / 0.6928 GB, free: 280 kB / 0.5294 GB Notification: Performance of Templates: time 0.004313/0.1724, allocations: 2.436 MB / 0.6952 GB, free: 13.85 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)