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: "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.456/1.456, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 294 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5073 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 96.34 kB / 0.6065 GB, free: 24.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1538, allocations: 89.14 MB / 0.6936 GB, free: 4.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.00285/0.1567, allocations: 1.595 MB / 0.6951 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1578, allocations: 0.6765 MB / 0.6958 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.1579, allocations: 0 / 0.6958 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.1581, allocations: 75.81 kB / 0.6959 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1585, allocations: 171.4 kB / 0.696 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.117e-05/0.1586, allocations: 4 kB / 0.696 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.1588, allocations: 183.3 kB / 0.6962 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.1588, allocations: 5.125 kB / 0.6962 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1589, allocations: 79.67 kB / 0.6963 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1591, allocations: 87.66 kB / 0.6964 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1591, allocations: 11.98 kB / 0.6964 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.1594, allocations: 115.8 kB / 0.6965 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.435e-05/0.1595, allocations: 67.81 kB / 0.6966 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.1595, allocations: 83.47 kB / 0.6967 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1598, allocations: 235.2 kB / 0.6969 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1599, allocations: 0 / 0.6969 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1599, allocations: 0 / 0.6969 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1599, allocations: 0 / 0.6969 GB, free: 0.8438 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.000545/0.1604, allocations: 466.9 kB / 0.6973 GB, free: 348 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1605, allocations: 12.03 kB / 0.6973 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.1605, allocations: 62.66 kB / 0.6974 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1606, allocations: 20.66 kB / 0.6974 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1607, allocations: 188.1 kB / 0.6976 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1607, allocations: 4.375 kB / 0.6976 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.1608, allocations: 20.44 kB / 0.6976 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.1613, allocations: 358.9 kB / 0.698 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1613, allocations: 0 / 0.698 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.1613, allocations: 8 kB / 0.698 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.1615, allocations: 72.27 kB / 0.698 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.1618, allocations: 217 kB / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.1632, allocations: 0.987 MB / 0.6992 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1635, allocations: 215.9 kB / 0.6994 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1636, allocations: 113.2 kB / 0.6995 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.1637, allocations: 0 / 0.6995 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1637, allocations: 34.56 kB / 0.6996 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 1.242e-06/0.1637, allocations: 4 kB / 0.6996 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.0005772/0.1643, allocations: 370.1 kB / 0.6999 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1643, allocations: 59.34 kB / 0.7 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1645, allocations: 142.8 kB / 0.7001 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1645, allocations: 29.69 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.1646, allocations: 152.1 kB / 0.7003 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1647, allocations: 126.1 kB / 0.7004 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.1648, allocations: 89.48 kB / 0.7005 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.165, allocations: 330.8 kB / 0.7008 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1651, allocations: 104.5 kB / 0.7009 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1654, allocations: 230.7 kB / 0.7011 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/0.1659, allocations: 396 kB / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1659, allocations: 0 / 0.7015 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005503/0.1664, allocations: 388.9 kB / 0.7019 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1665, allocations: 8 kB / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1665, allocations: 4 kB / 0.7019 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1665, allocations: 4 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.1667, allocations: 47.86 kB / 0.7019 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1667, allocations: 7.938 kB / 0.7019 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1668, allocations: 40.05 kB / 0.702 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.1669, allocations: 31.98 kB / 0.702 GB, free: 11.2 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.0001432/0.167, allocations: 161.6 kB / 0.7022 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.1671, allocations: 15.72 kB / 0.7022 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.1675, allocations: 275.3 kB / 0.7024 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.678e-05/0.1676, allocations: 27.92 kB / 0.7025 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1676, allocations: 0 / 0.7025 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1676, allocations: 0 / 0.7025 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009357/0.1685, allocations: 0.6365 MB / 0.7031 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1686, allocations: 3.984 kB / 0.7031 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.1686, allocations: 11.94 kB / 0.7031 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1686, allocations: 0 / 0.7031 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1686, allocations: 7.984 kB / 0.7031 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1686, allocations: 0 / 0.7031 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1686, allocations: 0 / 0.7031 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.1691, allocations: 386.9 kB / 0.7035 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.1692, allocations: 108.7 kB / 0.7036 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.1692, allocations: 3.984 kB / 0.7036 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1693, allocations: 4 kB / 0.7036 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1693, allocations: 15.98 kB / 0.7036 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.848e-05/0.1694, allocations: 23.97 kB / 0.7036 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.761e-05/0.1694, allocations: 99.27 kB / 0.7037 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1695, allocations: 0 / 0.7037 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003709/0.1698, allocations: 59.89 kB / 0.7038 GB, free: 9.277 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.0009393/0.1708, allocations: 0.9696 MB / 0.7047 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005181/0.1713, allocations: 324.5 kB / 0.705 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1713, allocations: 0 / 0.705 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.1715, allocations: 126.5 kB / 0.7052 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.1718, allocations: 11.98 kB / 0.7052 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009615/0.1727, allocations: 0.5261 MB / 0.7057 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1731, allocations: 0.7639 MB / 0.7064 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003006/0.1734, allocations: 77.48 kB / 0.7065 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1736, allocations: 79.41 kB / 0.7066 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1736, allocations: 0 / 0.7066 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/0.1985, allocations: 3.76 MB / 0.7102 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.657/7.855, allocations: 12.58 kB / 0.7103 GB, free: 2.652 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)