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.001521/0.001521, allocations: 105.4 kB / 15.99 MB, free: 6.336 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.001554/0.001554, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 294.2 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.183/1.183, allocations: 178.5 MB / 0.5076 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 96.08 kB / 0.6066 GB, free: 9.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1649, allocations: 89.14 MB / 0.6936 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002764/0.1677, allocations: 1.648 MB / 0.6952 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1689, allocations: 0.6778 MB / 0.6959 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.234e-05/0.169, allocations: 4 kB / 0.6959 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.1693, allocations: 60.05 kB / 0.6959 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.1696, allocations: 155.4 kB / 0.6961 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 1.196e-05/0.1697, allocations: 0 / 0.6961 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1699, allocations: 183.3 kB / 0.6963 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.17, allocations: 17.03 kB / 0.6963 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1701, allocations: 79.73 kB / 0.6964 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.1703, allocations: 99.64 kB / 0.6965 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1703, allocations: 8 kB / 0.6965 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.1705, allocations: 127.8 kB / 0.6966 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.142e-05/0.1706, allocations: 63.8 kB / 0.6966 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.1707, allocations: 87.41 kB / 0.6967 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.171, allocations: 179.6 kB / 0.6969 GB, free: 13.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.171, allocations: 0 / 0.6969 GB, free: 13.04 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.171, allocations: 0 / 0.6969 GB, free: 13.04 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.171, allocations: 0 / 0.6969 GB, free: 13.04 MB / 0.545 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.0005587/0.1715, allocations: 458.9 kB / 0.6973 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1716, allocations: 8.031 kB / 0.6973 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.1717, allocations: 20.75 kB / 0.6974 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.1718, allocations: 188.1 kB / 0.6975 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1718, allocations: 12.36 kB / 0.6976 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1719, allocations: 12.38 kB / 0.6976 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.1723, allocations: 346.9 kB / 0.6979 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1724, allocations: 7.938 kB / 0.6979 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1724, allocations: 11.98 kB / 0.6979 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.1725, allocations: 64.28 kB / 0.698 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.1728, allocations: 217 kB / 0.6982 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.1743, allocations: 0.9909 MB / 0.6992 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1746, allocations: 215.9 kB / 0.6994 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1747, allocations: 113.1 kB / 0.6995 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1747, allocations: 3.984 kB / 0.6995 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.1748, allocations: 38.56 kB / 0.6995 GB, free: 10.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.1748, allocations: 0 / 0.6995 GB, free: 10.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=39): time 0.000568/0.1754, allocations: 374.7 kB / 0.6999 GB, free: 9.777 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.1754, allocations: 55.41 kB / 0.6999 GB, free: 9.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1756, allocations: 148.3 kB / 0.7001 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1756, allocations: 29.7 kB / 0.7001 GB, free: 9.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1757, allocations: 156.1 kB / 0.7002 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.1758, allocations: 122.1 kB / 0.7004 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.1759, allocations: 77.58 kB / 0.7004 GB, free: 9.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1761, allocations: 334.8 kB / 0.7008 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1762, allocations: 100.5 kB / 0.7008 GB, free: 8.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/0.1765, allocations: 230.8 kB / 0.7011 GB, free: 8.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.177, allocations: 392 kB / 0.7014 GB, free: 8.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.177, allocations: 7.938 kB / 0.7014 GB, free: 8.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005254/0.1775, allocations: 384.9 kB / 0.7018 GB, free: 7.621 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1775, allocations: 4 kB / 0.7018 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1775, allocations: 4 kB / 0.7018 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1776, allocations: 8 kB / 0.7018 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1777, allocations: 35.92 kB / 0.7019 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.1777, allocations: 12.41 kB / 0.7019 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1779, allocations: 43.53 kB / 0.7019 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.1779, allocations: 31.97 kB / 0.7019 GB, free: 7.484 MB / 0.545 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.0001675/0.1781, allocations: 164.9 kB / 0.7021 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.1781, allocations: 11.81 kB / 0.7021 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.1786, allocations: 286.9 kB / 0.7024 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.677e-05/0.1786, allocations: 27.97 kB / 0.7024 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1787, allocations: 3.938 kB / 0.7024 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1787, allocations: 0 / 0.7024 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008996/0.1796, allocations: 0.6306 MB / 0.703 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1796, allocations: 4 kB / 0.703 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.1796, allocations: 8 kB / 0.703 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.1796, allocations: 7.922 kB / 0.7031 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1797, allocations: 4 kB / 0.7031 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.1797, allocations: 7.984 kB / 0.7031 GB, free: 6.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1797, allocations: 7.875 kB / 0.7031 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.1801, allocations: 383 kB / 0.7034 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.1802, allocations: 104.6 kB / 0.7035 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1802, allocations: 4 kB / 0.7035 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1803, allocations: 3.984 kB / 0.7035 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.1804, allocations: 19.97 kB / 0.7036 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.1804, allocations: 16 kB / 0.7036 GB, free: 5.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.1805, allocations: 109.4 kB / 0.7037 GB, free: 5.598 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1805, allocations: 0 / 0.7037 GB, free: 5.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003676/0.1809, allocations: 55.98 kB / 0.7037 GB, free: 5.543 MB / 0.545 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.0003334/0.1812, allocations: 151.1 kB / 0.7039 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.1817, allocations: 318.7 kB / 0.7042 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1817, allocations: 8.25 kB / 0.7042 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.1819, allocations: 131.9 kB / 0.7043 GB, free: 4.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1822, allocations: 11.98 kB / 0.7043 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008395/0.183, allocations: 0.5845 MB / 0.7049 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.1834, allocations: 0.7562 MB / 0.7056 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.1836, allocations: 51.41 kB / 0.7057 GB, free: 3.477 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1836, allocations: 0 / 0.7057 GB, free: 3.477 MB / 0.545 GB Notification: Performance of Templates: time 0.004546/0.1882, allocations: 2.446 MB / 0.7081 GB, free: 1.039 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)