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.001606/0.001606, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001967/0.001967, allocations: 191.5 kB / 16.25 MB, free: 6.625 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 286.9 kB / 290.4 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 95.56 kB / 0.5947 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1365, allocations: 86.98 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002431/0.139, allocations: 1.643 MB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009914/0.14, allocations: 0.6764 MB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.14, allocations: 4 kB / 0.6819 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1403, allocations: 59.98 kB / 0.6819 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.1406, allocations: 155.5 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.064e-05/0.1406, allocations: 0.5625 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1408, allocations: 179.3 kB / 0.6823 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.1409, allocations: 17.11 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.141, allocations: 75.73 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1412, allocations: 103.6 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.1412, allocations: 8 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1414, allocations: 115.8 kB / 0.6826 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-05/0.1415, allocations: 75.73 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.822e-05/0.1415, allocations: 83.47 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1418, allocations: 239.2 kB / 0.6829 GB, free: 13.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1418, allocations: 7.938 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1418, allocations: 0 / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1418, allocations: 0 / 0.683 GB, free: 13.66 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.0004646/0.1423, allocations: 466.9 kB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.1423, allocations: 8.031 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.1424, allocations: 16.75 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.1425, allocations: 184.1 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1425, allocations: 12.38 kB / 0.6836 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.1425, allocations: 12.36 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1429, allocations: 362.6 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.143, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.143, allocations: 7.984 kB / 0.684 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.1431, allocations: 68.27 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.1434, allocations: 213.7 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.1446, allocations: 1.003 MB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1448, allocations: 212 kB / 0.6854 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.145, allocations: 109.2 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.145, allocations: 4 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.145, allocations: 38.5 kB / 0.6856 GB, free: 10.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.145, allocations: 0 / 0.6856 GB, free: 10.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.0004882/0.1455, allocations: 374.1 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.1456, allocations: 59.41 kB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.1457, allocations: 141.7 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1457, allocations: 33.69 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1458, allocations: 152.1 kB / 0.6863 GB, free: 9.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.022e-05/0.1459, allocations: 130.1 kB / 0.6864 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.146, allocations: 73.55 kB / 0.6865 GB, free: 9.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1461, allocations: 334.8 kB / 0.6868 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1462, allocations: 112.5 kB / 0.6869 GB, free: 9.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.1464, allocations: 234.6 kB / 0.6871 GB, free: 9.055 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1468, allocations: 388 kB / 0.6875 GB, free: 8.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1468, allocations: 4 kB / 0.6875 GB, free: 8.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004805/0.1473, allocations: 393.3 kB / 0.6879 GB, free: 8.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1473, allocations: 4 kB / 0.6879 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1474, allocations: 4 kB / 0.6879 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1474, allocations: 8 kB / 0.6879 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1475, allocations: 35.92 kB / 0.6879 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1475, allocations: 11.94 kB / 0.688 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.1476, allocations: 35.58 kB / 0.688 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.1477, allocations: 24 kB / 0.688 GB, free: 8.105 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.0001296/0.1478, allocations: 162.3 kB / 0.6882 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.1479, allocations: 15.81 kB / 0.6882 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.1482, allocations: 297.4 kB / 0.6885 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.332e-05/0.1483, allocations: 19.98 kB / 0.6885 GB, free: 7.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1483, allocations: 3.938 kB / 0.6885 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1484, allocations: 0 / 0.6885 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000789/0.1491, allocations: 0.6307 MB / 0.6891 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1492, allocations: 0 / 0.6891 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.1492, allocations: 8 kB / 0.6891 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1492, allocations: 7.938 kB / 0.6891 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1492, allocations: 4 kB / 0.6891 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1492, allocations: 4 kB / 0.6891 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1493, allocations: 0 / 0.6891 GB, free: 6.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.1496, allocations: 382.8 kB / 0.6895 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1497, allocations: 104.6 kB / 0.6896 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1497, allocations: 11.92 kB / 0.6896 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.1498, allocations: 4 kB / 0.6896 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.1499, allocations: 19.97 kB / 0.6896 GB, free: 6.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.1499, allocations: 19.98 kB / 0.6896 GB, free: 6.324 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.034e-05/0.15, allocations: 103.3 kB / 0.6897 GB, free: 6.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.15, allocations: 0 / 0.6897 GB, free: 6.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.1503, allocations: 55.98 kB / 0.6898 GB, free: 6.168 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.0002697/0.1506, allocations: 147.1 kB / 0.6899 GB, free: 6.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004512/0.151, allocations: 331.3 kB / 0.6903 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1511, allocations: 3.938 kB / 0.6903 GB, free: 5.688 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1512, allocations: 117.8 kB / 0.6904 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1514, allocations: 13.95 kB / 0.6904 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.1521, allocations: 0.5488 MB / 0.6909 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1524, allocations: 0.7639 MB / 0.6917 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.1527, allocations: 77.48 kB / 0.6917 GB, free: 4.121 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1529, allocations: 39.42 kB / 0.6918 GB, free: 4.086 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1529, allocations: 0 / 0.6918 GB, free: 4.086 MB / 494.1 MB Notification: Performance of Templates: time 0.003895/0.1568, allocations: 1.542 MB / 0.6933 GB, free: 2.551 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)