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.006576/0.006576, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001479/0.00148, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 290.9 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9073/0.9073, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 99.86 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1532, allocations: 86.98 MB / 0.7664 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002567/0.1558, allocations: 1.593 MB / 0.7679 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.157, allocations: 0.6704 MB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.295e-05/0.1571, allocations: 4 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.1573, allocations: 59.59 kB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1577, allocations: 171.4 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.533e-05/0.1578, allocations: 4 kB / 0.7688 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.158, allocations: 179.3 kB / 0.769 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.158, allocations: 16.86 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.1582, allocations: 75.69 kB / 0.7691 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1583, allocations: 83.66 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1584, allocations: 4 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.1586, allocations: 131.8 kB / 0.7693 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.1587, allocations: 63.8 kB / 0.7693 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.1588, allocations: 95.41 kB / 0.7694 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1591, allocations: 223.3 kB / 0.7696 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1591, allocations: 7.875 kB / 0.7696 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1591, allocations: 4 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.1591, allocations: 0 / 0.7696 GB, free: 5.082 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.0004827/0.1596, allocations: 466.9 kB / 0.7701 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1596, allocations: 12.03 kB / 0.7701 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1597, allocations: 20.66 kB / 0.7701 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1598, allocations: 192.1 kB / 0.7703 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1598, allocations: 12.36 kB / 0.7703 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.1599, allocations: 16.38 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.1603, allocations: 350.8 kB / 0.7707 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1603, allocations: 0 / 0.7707 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1603, allocations: 11.98 kB / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.1605, allocations: 60.27 kB / 0.7707 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.1608, allocations: 221.7 kB / 0.7709 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.162, allocations: 0.987 MB / 0.7719 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.1623, allocations: 219.9 kB / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1624, allocations: 109.2 kB / 0.7722 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.1624, allocations: 4 kB / 0.7722 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.1625, allocations: 30.56 kB / 0.7723 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 1.422e-06/0.1625, allocations: 0 / 0.7723 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0005007/0.163, allocations: 380.4 kB / 0.7726 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.163, allocations: 55.41 kB / 0.7727 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1632, allocations: 145.8 kB / 0.7728 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1632, allocations: 29.69 kB / 0.7728 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1633, allocations: 152.1 kB / 0.773 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/0.1634, allocations: 134 kB / 0.7731 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.1634, allocations: 77.64 kB / 0.7732 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1636, allocations: 326.8 kB / 0.7735 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1637, allocations: 104.5 kB / 0.7736 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1639, allocations: 230.7 kB / 0.7738 GB, free: 492 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.1643, allocations: 396 kB / 0.7742 GB, free: 40 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1643, allocations: 0 / 0.7742 GB, free: 40 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.2954/0.4597, allocations: 388.7 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4598, allocations: 8.094 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4598, allocations: 4.156 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.4598, allocations: 8.016 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.46, allocations: 37.19 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.46, allocations: 9.156 kB / 0.7746 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.4602, allocations: 41.11 kB / 0.7747 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.4602, allocations: 25.75 kB / 0.7747 GB, free: 14.91 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.0001267/0.4603, allocations: 163 kB / 0.7748 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.4604, allocations: 14.36 kB / 0.7749 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.4608, allocations: 283.1 kB / 0.7751 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-05/0.4609, allocations: 23.09 kB / 0.7752 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4609, allocations: 3.094 kB / 0.7752 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4609, allocations: 0.5625 kB / 0.7752 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007416/0.4616, allocations: 0.6283 MB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4616, allocations: 0.625 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.4617, allocations: 12.86 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4617, allocations: 1.594 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.4617, allocations: 9.531 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4617, allocations: 2.875 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4617, allocations: 5.047 kB / 0.7758 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.4621, allocations: 388.2 kB / 0.7762 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.4621, allocations: 99.38 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.4621, allocations: 4.625 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.4622, allocations: 2.594 kB / 0.7763 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.4623, allocations: 26.95 kB / 0.7763 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.4623, allocations: 19.72 kB / 0.7763 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.722e-05/0.4624, allocations: 105.6 kB / 0.7764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4624, allocations: 1.562 kB / 0.7764 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003832/0.4628, allocations: 64.09 kB / 0.7765 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.000245/0.463, allocations: 136.8 kB / 0.7766 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.4635, allocations: 285 kB / 0.7769 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4635, allocations: 0 / 0.7769 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.4636, allocations: 124.7 kB / 0.777 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.4639, allocations: 12.94 kB / 0.777 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.4646, allocations: 468.4 kB / 0.7775 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.4648, allocations: 0.7582 MB / 0.7782 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.465, allocations: 77.53 kB / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.4651, allocations: 39.27 kB / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4651, allocations: 0 / 0.7783 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.004052/0.4691, allocations: 1.59 MB / 0.7799 GB, free: 12.96 MB / 0.5606 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)