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.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001638/0.001638, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 276.2 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 85.8 kB / 0.5945 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1491, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002527/0.1517, allocations: 1.652 MB / 0.681 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1529, allocations: 0.6918 MB / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.1529, allocations: 0 / 0.6817 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.1532, allocations: 60 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1535, allocations: 151.5 kB / 0.6819 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.282e-05/0.1536, allocations: 8.719 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.1538, allocations: 323.1 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1539, allocations: 10.83 kB / 0.6822 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.154, allocations: 59.78 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1542, allocations: 111.6 kB / 0.6824 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1542, allocations: 12.59 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.1544, allocations: 123.8 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.1545, allocations: 76.59 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.69e-05/0.1546, allocations: 79.48 kB / 0.6827 GB, free: 13.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1549, allocations: 240.3 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1549, allocations: 4 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.1549, allocations: 0 / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.1549, allocations: 0.9375 kB / 0.6829 GB, free: 13.59 MB / 494.1 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.0004347/0.1553, allocations: 459.5 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1554, allocations: 8.031 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.1554, allocations: 24.73 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.07e-05/0.1555, allocations: 188.1 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1555, allocations: 12.36 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1556, allocations: 16.36 kB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.156, allocations: 354.6 kB / 0.6839 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.156, allocations: 8 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.156, allocations: 4 kB / 0.6839 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.1561, allocations: 64.28 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.1564, allocations: 217.7 kB / 0.6842 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.1576, allocations: 0.9947 MB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1579, allocations: 212 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.158, allocations: 109.1 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.158, allocations: 4 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1581, allocations: 38.5 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.1581, allocations: 0 / 0.6855 GB, free: 10.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0005102/0.1586, allocations: 370.1 kB / 0.6859 GB, free: 10.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1586, allocations: 59.41 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.1587, allocations: 147.8 kB / 0.6861 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.1588, allocations: 25.7 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.1588, allocations: 164.1 kB / 0.6863 GB, free: 9.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.1589, allocations: 126.1 kB / 0.6864 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.159, allocations: 81.55 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.1591, allocations: 334.8 kB / 0.6868 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1593, allocations: 100.5 kB / 0.6869 GB, free: 9.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.1595, allocations: 238.6 kB / 0.6871 GB, free: 8.988 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.1598, allocations: 392 kB / 0.6875 GB, free: 8.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1599, allocations: 4 kB / 0.6875 GB, free: 8.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004671/0.1603, allocations: 392.8 kB / 0.6879 GB, free: 8.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1603, allocations: 4 kB / 0.6879 GB, free: 8.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1604, allocations: 4 kB / 0.6879 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1604, allocations: 8 kB / 0.6879 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1605, allocations: 36.45 kB / 0.6879 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1605, allocations: 7.938 kB / 0.6879 GB, free: 8.098 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.1607, allocations: 43.58 kB / 0.688 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1607, allocations: 27.98 kB / 0.688 GB, free: 8.027 MB / 494.1 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 0.0001211/0.1608, allocations: 162.3 kB / 0.6881 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1609, allocations: 11.81 kB / 0.6881 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1612, allocations: 279 kB / 0.6884 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.292e-05/0.1613, allocations: 27.97 kB / 0.6884 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1613, allocations: 3.938 kB / 0.6884 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1613, allocations: 4 kB / 0.6884 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007771/0.1621, allocations: 0.6268 MB / 0.6891 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1621, allocations: 3.984 kB / 0.6891 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.1622, allocations: 11.98 kB / 0.6891 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1622, allocations: 3.938 kB / 0.6891 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1622, allocations: 7.984 kB / 0.6891 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1622, allocations: 4 kB / 0.6891 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1622, allocations: 0 / 0.6891 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.1626, allocations: 382.8 kB / 0.6895 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.1626, allocations: 104.6 kB / 0.6896 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1627, allocations: 7.984 kB / 0.6896 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.1628, allocations: 3.984 kB / 0.6896 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1628, allocations: 19.92 kB / 0.6896 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.1628, allocations: 19.98 kB / 0.6896 GB, free: 6.254 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.819e-05/0.1629, allocations: 105.9 kB / 0.6897 GB, free: 6.152 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1629, allocations: 0 / 0.6897 GB, free: 6.152 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1632, allocations: 59.98 kB / 0.6898 GB, free: 6.094 MB / 494.1 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.0002694/0.1635, allocations: 143.1 kB / 0.6899 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1639, allocations: 280.1 kB / 0.6902 GB, free: 5.672 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1639, allocations: 8.25 kB / 0.6902 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1641, allocations: 119.9 kB / 0.6903 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.1643, allocations: 19.8 kB / 0.6903 GB, free: 5.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.165, allocations: 0.5455 MB / 0.6908 GB, free: 4.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1653, allocations: 0.7603 MB / 0.6916 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.1656, allocations: 77.48 kB / 0.6917 GB, free: 4.094 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1657, allocations: 39.41 kB / 0.6917 GB, free: 4.059 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1657, allocations: 4 kB / 0.6917 GB, free: 4.055 MB / 494.1 MB Notification: Performance of Templates: time 0.003811/0.1695, allocations: 1.507 MB / 0.6932 GB, free: 2.555 MB / 494.1 MB 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)