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.0009878/0.0009878, allocations: 104.2 kB / 15.98 MB, free: 6.355 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.0009619/0.000962, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.222/1.222, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001991/0.001991, allocations: 297.8 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8951/0.8951, allocations: 169.2 MB / 0.4985 GB, free: 4.641 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 89.91 kB / 0.5953 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1683, allocations: 86.97 MB / 0.6803 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002467/0.1708, allocations: 1.649 MB / 0.6819 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1718, allocations: 0.6824 MB / 0.6825 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.1718, allocations: 0 / 0.6825 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1721, allocations: 64 kB / 0.6826 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.1724, allocations: 151.5 kB / 0.6827 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 1.362e-05/0.1725, allocations: 4 kB / 0.6827 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.1727, allocations: 179.3 kB / 0.6829 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.1727, allocations: 13.11 kB / 0.6829 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1728, allocations: 83.67 kB / 0.683 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.173, allocations: 103.6 kB / 0.6831 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.173, allocations: 8 kB / 0.6831 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.1732, allocations: 115.9 kB / 0.6832 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-05/0.1733, allocations: 75.72 kB / 0.6833 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.1734, allocations: 79.48 kB / 0.6834 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1736, allocations: 175.6 kB / 0.6835 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1736, allocations: 0 / 0.6835 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1736, allocations: 0 / 0.6835 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1736, allocations: 0 / 0.6835 GB, free: 10.11 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.000465/0.1741, allocations: 462.9 kB / 0.684 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1741, allocations: 12.03 kB / 0.684 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.1742, allocations: 24.64 kB / 0.684 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1743, allocations: 184.1 kB / 0.6842 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1743, allocations: 12.36 kB / 0.6842 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.1743, allocations: 16.31 kB / 0.6842 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004351/0.1748, allocations: 354.8 kB / 0.6846 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.1748, allocations: 4 kB / 0.6846 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1748, allocations: 7.984 kB / 0.6846 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.1749, allocations: 64.28 kB / 0.6846 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.1752, allocations: 221 kB / 0.6848 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1765, allocations: 0.987 MB / 0.6858 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.1767, allocations: 216 kB / 0.686 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1768, allocations: 109.2 kB / 0.6861 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1768, allocations: 11.94 kB / 0.6861 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1769, allocations: 34.56 kB / 0.6862 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.635e-06/0.1769, allocations: 0 / 0.6862 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.0004835/0.1774, allocations: 378 kB / 0.6865 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1774, allocations: 51.41 kB / 0.6866 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1775, allocations: 147.8 kB / 0.6867 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1775, allocations: 29.69 kB / 0.6867 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.1776, allocations: 156.1 kB / 0.6869 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.1777, allocations: 134 kB / 0.687 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.1778, allocations: 69.67 kB / 0.6871 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1779, allocations: 330.8 kB / 0.6874 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1781, allocations: 108.5 kB / 0.6875 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1783, allocations: 230.7 kB / 0.6877 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.1787, allocations: 389.3 kB / 0.6881 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1787, allocations: 0 / 0.6881 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004571/0.1791, allocations: 396.7 kB / 0.6885 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1791, allocations: 8 kB / 0.6885 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1792, allocations: 4 kB / 0.6885 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.1792, allocations: 4 kB / 0.6885 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1793, allocations: 36.45 kB / 0.6885 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1793, allocations: 15.94 kB / 0.6885 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.1794, allocations: 35.58 kB / 0.6886 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.505e-05/0.1795, allocations: 27.98 kB / 0.6886 GB, free: 4.555 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.0001156/0.1796, allocations: 158.5 kB / 0.6887 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1796, allocations: 15.81 kB / 0.6888 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003749/0.18, allocations: 286.8 kB / 0.689 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.872e-05/0.1801, allocations: 23.97 kB / 0.6891 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1801, allocations: 3.938 kB / 0.6891 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1801, allocations: 8 kB / 0.6891 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007635/0.1809, allocations: 0.6229 MB / 0.6897 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1809, allocations: 4 kB / 0.6897 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.1809, allocations: 7.984 kB / 0.6897 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.181, allocations: 7.938 kB / 0.6897 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.181, allocations: 7.938 kB / 0.6897 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.181, allocations: 0 / 0.6897 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.181, allocations: 0 / 0.6897 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003591/0.1814, allocations: 394.6 kB / 0.6901 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.701e-05/0.1814, allocations: 104.7 kB / 0.6902 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1814, allocations: 0 / 0.6902 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.1815, allocations: 7.969 kB / 0.6902 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.1816, allocations: 15.98 kB / 0.6902 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1816, allocations: 19.94 kB / 0.6902 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.1817, allocations: 109.8 kB / 0.6903 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.6903 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003368/0.182, allocations: 59.89 kB / 0.6904 GB, free: 2.609 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.0003022/0.1823, allocations: 147.1 kB / 0.6905 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004419/0.1828, allocations: 320.4 kB / 0.6908 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1828, allocations: 4.062 kB / 0.6908 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1829, allocations: 123.9 kB / 0.691 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1832, allocations: 11.98 kB / 0.691 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.1839, allocations: 0.5922 MB / 0.6915 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1842, allocations: 0.7561 MB / 0.6923 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.1844, allocations: 55.41 kB / 0.6923 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1844, allocations: 0 / 0.6923 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of Templates: time 0.003766/0.1881, allocations: 2.453 MB / 0.6947 GB, free: 14.1 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)