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.001785/0.001785, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001932/0.001932, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.443/1.443, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 294.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.507 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 100.1 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1561, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.00279/0.159, allocations: 1.653 MB / 0.6946 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1602, allocations: 0.6813 MB / 0.6953 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.1603, allocations: 0 / 0.6953 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1605, allocations: 56.06 kB / 0.6953 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1609, allocations: 155.5 kB / 0.6955 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.358e-05/0.1609, allocations: 4 kB / 0.6955 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.1612, allocations: 183.3 kB / 0.6956 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1612, allocations: 13.75 kB / 0.6956 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1613, allocations: 67.75 kB / 0.6957 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1615, allocations: 112.3 kB / 0.6958 GB, free: 1.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1615, allocations: 8 kB / 0.6958 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.1618, allocations: 119.8 kB / 0.6959 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.94e-05/0.1619, allocations: 71.78 kB / 0.696 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.162, allocations: 83.42 kB / 0.6961 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.1623, allocations: 243.2 kB / 0.6963 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1623, allocations: 0 / 0.6963 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1623, allocations: 0 / 0.6963 GB, free: 1.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1623, allocations: 0 / 0.6963 GB, free: 1.273 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.0005544/0.1629, allocations: 458.9 kB / 0.6968 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1629, allocations: 16.02 kB / 0.6968 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.065e-05/0.163, allocations: 20.66 kB / 0.6968 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1631, allocations: 188.1 kB / 0.697 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.1631, allocations: 8.359 kB / 0.697 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1632, allocations: 20.36 kB / 0.697 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.1636, allocations: 359.2 kB / 0.6973 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1637, allocations: 0 / 0.6973 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1637, allocations: 11.98 kB / 0.6974 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001289/0.1638, allocations: 60.28 kB / 0.6974 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1641, allocations: 217 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.1656, allocations: 0.9987 MB / 0.6986 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1658, allocations: 208 kB / 0.6988 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.166, allocations: 113.1 kB / 0.6989 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.166, allocations: 4 kB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.166, allocations: 38.5 kB / 0.6989 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/0.1661, allocations: 0 / 0.6989 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.0005634/0.1666, allocations: 370.1 kB / 0.6993 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1667, allocations: 55.41 kB / 0.6993 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1668, allocations: 150.9 kB / 0.6995 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1668, allocations: 25.7 kB / 0.6995 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1669, allocations: 160.1 kB / 0.6997 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1671, allocations: 126.1 kB / 0.6998 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.1672, allocations: 77.52 kB / 0.6999 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1673, allocations: 338.8 kB / 0.7002 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.1675, allocations: 100.5 kB / 0.7003 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.1677, allocations: 234.7 kB / 0.7005 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.1682, allocations: 388 kB / 0.7009 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1682, allocations: 0 / 0.7009 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005536/0.1688, allocations: 388.9 kB / 0.7012 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1688, allocations: 8 kB / 0.7013 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1688, allocations: 4 kB / 0.7013 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1688, allocations: 8.531 kB / 0.7013 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.169, allocations: 35.92 kB / 0.7013 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.169, allocations: 11.94 kB / 0.7013 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1691, allocations: 47.52 kB / 0.7014 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.1692, allocations: 27.98 kB / 0.7014 GB, free: 11.7 MB / 0.4981 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.0001446/0.1693, allocations: 161.6 kB / 0.7015 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.1694, allocations: 15.72 kB / 0.7016 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.1698, allocations: 275.2 kB / 0.7018 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.057e-05/0.1699, allocations: 27.98 kB / 0.7018 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1699, allocations: 7.938 kB / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1699, allocations: 0 / 0.7019 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000907/0.1708, allocations: 0.6227 MB / 0.7025 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1708, allocations: 0 / 0.7025 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.1709, allocations: 15.92 kB / 0.7025 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1709, allocations: 3.938 kB / 0.7025 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.1709, allocations: 11.98 kB / 0.7025 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1709, allocations: 0 / 0.7025 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1709, allocations: 0 / 0.7025 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.1714, allocations: 386.9 kB / 0.7029 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.1714, allocations: 100.7 kB / 0.703 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1715, allocations: 7.969 kB / 0.703 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.1716, allocations: 4 kB / 0.703 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1716, allocations: 11.98 kB / 0.703 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1716, allocations: 16 kB / 0.703 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.496e-05/0.1717, allocations: 109 kB / 0.7031 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1717, allocations: 3.938 kB / 0.7031 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003643/0.1721, allocations: 67.89 kB / 0.7032 GB, free: 9.773 MB / 0.4981 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.000308/0.1724, allocations: 148.4 kB / 0.7033 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005213/0.1729, allocations: 324.4 kB / 0.7036 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.173, allocations: 4.125 kB / 0.7036 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.1731, allocations: 126.1 kB / 0.7037 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1734, allocations: 11.98 kB / 0.7038 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.1742, allocations: 0.544 MB / 0.7043 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1746, allocations: 0.7601 MB / 0.705 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003071/0.1749, allocations: 77.48 kB / 0.7051 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.175, allocations: 43.42 kB / 0.7051 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.175, allocations: 0 / 0.7051 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of Templates: time 0.004623/0.1797, allocations: 1.529 MB / 0.7066 GB, free: 6.168 MB / 0.4981 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)