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.001431/0.001431, 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.001418/0.001418, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 286.7 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.054/1.054, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003637/0.003637, allocations: 99 kB / 0.6057 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1653, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002819/0.1681, allocations: 1.646 MB / 0.6944 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1693, allocations: 0.6949 MB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.284e-05/0.1693, allocations: 0 / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.1696, allocations: 56.12 kB / 0.6951 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.1699, allocations: 155.4 kB / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.022e-05/0.1699, allocations: 0 / 0.6953 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.1703, allocations: 327.1 kB / 0.6956 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.1703, allocations: 17.05 kB / 0.6956 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1704, allocations: 59.78 kB / 0.6957 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1706, allocations: 107.6 kB / 0.6958 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1706, allocations: 8 kB / 0.6958 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.1709, allocations: 127.8 kB / 0.6959 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.803e-05/0.171, allocations: 79.78 kB / 0.696 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.85e-05/0.171, allocations: 83.42 kB / 0.696 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1713, allocations: 239.2 kB / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1713, allocations: 0 / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1714, allocations: 4 kB / 0.6963 GB, free: 1.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1714, allocations: 0 / 0.6963 GB, free: 1.262 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.0005695/0.1719, allocations: 454.9 kB / 0.6967 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.172, allocations: 16.02 kB / 0.6967 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.317e-05/0.172, allocations: 16.66 kB / 0.6967 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1722, allocations: 188.1 kB / 0.6969 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1722, allocations: 16.36 kB / 0.6969 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1722, allocations: 8.375 kB / 0.6969 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.1727, allocations: 367.2 kB / 0.6973 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1727, allocations: 0 / 0.6973 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1728, allocations: 7.984 kB / 0.6973 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.1729, allocations: 60.28 kB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1732, allocations: 225 kB / 0.6976 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.1746, allocations: 0.9987 MB / 0.6985 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.1749, allocations: 208 kB / 0.6987 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.175, allocations: 109.2 kB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1751, allocations: 4 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.1751, allocations: 34.56 kB / 0.6989 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 1.462e-06/0.1751, allocations: 0 / 0.6989 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.000596/0.1757, allocations: 378.1 kB / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.1758, allocations: 55.34 kB / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1759, allocations: 155.5 kB / 0.6995 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1759, allocations: 25.7 kB / 0.6995 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.176, allocations: 156.1 kB / 0.6996 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.1761, allocations: 130.1 kB / 0.6997 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.1763, allocations: 69.58 kB / 0.6998 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1764, allocations: 334.8 kB / 0.7001 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1766, allocations: 108.5 kB / 0.7002 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1768, allocations: 234.6 kB / 0.7005 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.1773, allocations: 392 kB / 0.7008 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1773, allocations: 0 / 0.7008 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005526/0.1779, allocations: 385 kB / 0.7012 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1779, allocations: 8 kB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1779, allocations: 4 kB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.178, allocations: 4 kB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1781, allocations: 35.92 kB / 0.7013 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1781, allocations: 11.94 kB / 0.7013 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.1782, allocations: 39.52 kB / 0.7013 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.1783, allocations: 28.39 kB / 0.7013 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.0001566/0.1785, allocations: 165.6 kB / 0.7015 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.1785, allocations: 19.72 kB / 0.7015 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.1789, allocations: 279.2 kB / 0.7018 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/0.179, allocations: 19.98 kB / 0.7018 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.179, allocations: 7.938 kB / 0.7018 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.179, allocations: 0 / 0.7018 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.18, allocations: 0.6305 MB / 0.7024 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.18, allocations: 4 kB / 0.7024 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.18, allocations: 7.984 kB / 0.7024 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.18, allocations: 7.938 kB / 0.7024 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1801, allocations: 7.984 kB / 0.7024 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1801, allocations: 0 / 0.7024 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1801, allocations: 0 / 0.7024 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.1805, allocations: 378.9 kB / 0.7028 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.1806, allocations: 104.7 kB / 0.7029 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1806, allocations: 7.984 kB / 0.7029 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.1807, allocations: 7.984 kB / 0.7029 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.1808, allocations: 11.98 kB / 0.7029 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.1808, allocations: 20 kB / 0.7029 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.1809, allocations: 113.7 kB / 0.7031 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1809, allocations: 0 / 0.7031 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003803/0.1813, allocations: 63.89 kB / 0.7031 GB, free: 9.766 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.0002996/0.1816, allocations: 143.1 kB / 0.7033 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004401/0.182, allocations: 277.5 kB / 0.7035 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.182, allocations: 5 kB / 0.7035 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1822, allocations: 131.9 kB / 0.7036 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.1825, allocations: 7.984 kB / 0.7037 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.1833, allocations: 0.5573 MB / 0.7042 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.1837, allocations: 0.7603 MB / 0.7049 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003001/0.184, allocations: 77.48 kB / 0.705 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.1841, allocations: 43.41 kB / 0.7051 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1841, allocations: 0 / 0.7051 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of Templates: time 0.004596/0.1887, allocations: 1.506 MB / 0.7065 GB, free: 6.219 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)