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.00793/0.00793, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.002026/0.002026, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 282.9 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.062/1.062, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00259/0.00259, allocations: 100.1 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1598, allocations: 86.97 MB / 0.7659 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002601/0.1625, allocations: 1.598 MB / 0.7674 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1636, allocations: 0.6743 MB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.1637, allocations: 0 / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1639, allocations: 67.94 kB / 0.7682 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.1643, allocations: 163.4 kB / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.068e-05/0.1643, allocations: 0 / 0.7683 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1646, allocations: 183.3 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1646, allocations: 12.88 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1647, allocations: 83.62 kB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.1649, allocations: 95.62 kB / 0.7687 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1649, allocations: 8 kB / 0.7687 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1652, allocations: 111.9 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.1652, allocations: 75.73 kB / 0.7689 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.1653, allocations: 75.48 kB / 0.7689 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1656, allocations: 239 kB / 0.7692 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1657, allocations: 7.922 kB / 0.7692 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1657, allocations: 0 / 0.7692 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1657, allocations: 4 kB / 0.7692 GB, free: 5.59 MB / 0.5606 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.0005417/0.1662, allocations: 466.5 kB / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1663, allocations: 12.03 kB / 0.7696 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.529e-05/0.1663, allocations: 62.7 kB / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1664, allocations: 20.8 kB / 0.7697 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1665, allocations: 180.1 kB / 0.7699 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1665, allocations: 16.38 kB / 0.7699 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1666, allocations: 12.36 kB / 0.7699 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004916/0.1671, allocations: 366.6 kB / 0.7703 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1671, allocations: 0 / 0.7703 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1671, allocations: 0 / 0.7703 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.1673, allocations: 68.27 kB / 0.7703 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.1676, allocations: 213.7 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.169, allocations: 1.007 MB / 0.7715 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.1693, allocations: 208 kB / 0.7717 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1695, allocations: 113.1 kB / 0.7718 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1695, allocations: 0 / 0.7718 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1696, allocations: 38.5 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 4.037e-06/0.1696, allocations: 3.984 kB / 0.7719 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.000753/0.1703, allocations: 366.6 kB / 0.7722 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1704, allocations: 63.33 kB / 0.7723 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1705, allocations: 140.1 kB / 0.7724 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1706, allocations: 33.69 kB / 0.7724 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1707, allocations: 152.5 kB / 0.7726 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1708, allocations: 138.8 kB / 0.7727 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/0.1709, allocations: 73.61 kB / 0.7728 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.171, allocations: 334.8 kB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.1712, allocations: 104.5 kB / 0.7732 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.1715, allocations: 246.5 kB / 0.7734 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.1719, allocations: 388 kB / 0.7738 GB, free: 468 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1719, allocations: 0 / 0.7738 GB, free: 468 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005313/0.1725, allocations: 389 kB / 0.7742 GB, free: 72 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1725, allocations: 8 kB / 0.7742 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1725, allocations: 8.469 kB / 0.7742 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1725, allocations: 12 kB / 0.7742 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1727, allocations: 39.86 kB / 0.7742 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1727, allocations: 4 kB / 0.7742 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2812/0.4539, allocations: 34.2 kB / 0.7743 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.454, allocations: 28.28 kB / 0.7743 GB, free: 14.88 MB / 0.5606 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.0001343/0.4541, allocations: 153.4 kB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.4542, allocations: 18.44 kB / 0.7745 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/0.4546, allocations: 281.1 kB / 0.7747 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-05/0.4547, allocations: 26.33 kB / 0.7748 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4547, allocations: 1 kB / 0.7748 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.4547, allocations: 1.844 kB / 0.7748 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.4555, allocations: 0.6294 MB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4555, allocations: 0 / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.4555, allocations: 11.39 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4556, allocations: 1.828 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4556, allocations: 9.922 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4556, allocations: 1.75 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4556, allocations: 2.453 kB / 0.7754 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003372/0.4559, allocations: 389.8 kB / 0.7758 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.456, allocations: 102.5 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.456, allocations: 4.609 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.694e-05/0.4561, allocations: 3.781 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.4561, allocations: 13.97 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.4562, allocations: 20.48 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.093e-05/0.4562, allocations: 112.2 kB / 0.776 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4562, allocations: 0 / 0.776 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004655/0.4567, allocations: 64.78 kB / 0.7761 GB, free: 14.09 MB / 0.5606 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.0006073/0.4573, allocations: 0.9594 MB / 0.777 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.4577, allocations: 281.4 kB / 0.7773 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4577, allocations: 0.5938 kB / 0.7773 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.4579, allocations: 132.7 kB / 0.7774 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4582, allocations: 10.55 kB / 0.7774 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008777/0.4591, allocations: 0.5319 MB / 0.7779 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.4592, allocations: 0.7592 MB / 0.7787 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002057/0.4595, allocations: 75.42 kB / 0.7788 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.4596, allocations: 79.75 kB / 0.7788 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.4596, allocations: 0.6875 kB / 0.7788 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2409/0.7005, allocations: 3.858 MB / 0.7826 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.101/9.801, allocations: 7.094 kB / 0.7826 GB, free: 12.02 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle.fmu > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1)