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.007578/0.007578, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.002139/0.002139, allocations: 201.5 kB / 16.68 MB, free: 6.375 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.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002593/0.002593, allocations: 283 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.048/1.048, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 95.84 kB / 0.6809 GB, free: 56 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1575, allocations: 86.98 MB / 0.7659 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002674/0.1602, allocations: 1.596 MB / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1614, allocations: 0.6704 MB / 0.7681 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.1615, allocations: 0 / 0.7681 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.1617, allocations: 67.88 kB / 0.7682 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.1622, allocations: 171.4 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.236e-05/0.1622, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.1624, allocations: 187.2 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.1625, allocations: 16.84 kB / 0.7685 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.1626, allocations: 71.75 kB / 0.7686 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1628, allocations: 87.64 kB / 0.7687 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1628, allocations: 8 kB / 0.7687 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.163, allocations: 119.8 kB / 0.7688 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.555e-05/0.1631, allocations: 75.78 kB / 0.7689 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.1632, allocations: 75.48 kB / 0.7689 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1635, allocations: 243 kB / 0.7692 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1636, allocations: 4 kB / 0.7692 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1636, allocations: 0 / 0.7692 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.1636, allocations: 0 / 0.7692 GB, free: 5.613 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.0005451/0.1641, allocations: 470.5 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1642, allocations: 8.031 kB / 0.7696 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.206e-05/0.1642, allocations: 58.72 kB / 0.7697 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1643, allocations: 24.73 kB / 0.7697 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1644, allocations: 184.1 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.1644, allocations: 16.36 kB / 0.7699 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.1645, allocations: 16.38 kB / 0.7699 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.165, allocations: 354.7 kB / 0.7702 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.165, allocations: 3.938 kB / 0.7702 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.165, allocations: 7.984 kB / 0.7703 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.1651, allocations: 60.28 kB / 0.7703 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.1655, allocations: 225.7 kB / 0.7705 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1669, allocations: 0.9911 MB / 0.7715 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.1671, allocations: 211.9 kB / 0.7717 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.1673, allocations: 109.2 kB / 0.7718 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.1673, allocations: 0 / 0.7718 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.1673, allocations: 42.55 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 1.193e-06/0.1673, allocations: 0 / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.000562/0.1679, allocations: 370.5 kB / 0.7722 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.168, allocations: 63.34 kB / 0.7723 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.1681, allocations: 148.7 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1681, allocations: 29.7 kB / 0.7724 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.45e-05/0.1682, allocations: 152.5 kB / 0.7726 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1683, allocations: 138.8 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/0.1684, allocations: 69.62 kB / 0.7728 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1686, allocations: 334.8 kB / 0.7731 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1687, allocations: 96.52 kB / 0.7732 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.169, allocations: 246.6 kB / 0.7734 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.1695, allocations: 392 kB / 0.7738 GB, free: 496 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1695, allocations: 7.938 kB / 0.7738 GB, free: 488 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00053/0.17, allocations: 389.5 kB / 0.7742 GB, free: 92 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.17, allocations: 8.031 kB / 0.7742 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1701, allocations: 4 kB / 0.7742 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1701, allocations: 8 kB / 0.7742 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.1702, allocations: 43.84 kB / 0.7742 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1702, allocations: 11.94 kB / 0.7742 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2704/0.4406, allocations: 27.95 kB / 0.7743 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.4407, allocations: 28.38 kB / 0.7743 GB, free: 15.52 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.0001558/0.4409, allocations: 158.6 kB / 0.7744 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.441, allocations: 15.23 kB / 0.7745 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004716/0.4414, allocations: 273.8 kB / 0.7747 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.774e-05/0.4415, allocations: 30.86 kB / 0.7748 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4415, allocations: 1.031 kB / 0.7748 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4416, allocations: 1.109 kB / 0.7748 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/0.4424, allocations: 0.6329 MB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4424, allocations: 4.875 kB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.4425, allocations: 8.25 kB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.4425, allocations: 0.8438 kB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.4425, allocations: 9.609 kB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4425, allocations: 4.953 kB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4425, allocations: 0.6562 kB / 0.7754 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.4429, allocations: 387.7 kB / 0.7758 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.4429, allocations: 103.1 kB / 0.7759 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.443, allocations: 4.328 kB / 0.7759 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.4431, allocations: 1.781 kB / 0.7759 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.4431, allocations: 20.94 kB / 0.7759 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/0.4431, allocations: 17.38 kB / 0.7759 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.4432, allocations: 101.2 kB / 0.776 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4432, allocations: 1.188 kB / 0.776 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003706/0.4436, allocations: 66.8 kB / 0.7761 GB, free: 14.73 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.0006703/0.4442, allocations: 0.9628 MB / 0.777 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.4447, allocations: 290.2 kB / 0.7773 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4447, allocations: 0 / 0.7773 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.4448, allocations: 121.6 kB / 0.7774 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.4451, allocations: 15.59 kB / 0.7774 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008119/0.4459, allocations: 0.533 MB / 0.7779 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.4461, allocations: 0.7582 MB / 0.7787 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.4463, allocations: 73.5 kB / 0.7788 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.4464, allocations: 79.08 kB / 0.7788 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.4465, allocations: 1.312 kB / 0.7788 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.4699, allocations: 3.868 MB / 0.7826 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/9.206, allocations: 7.938 kB / 0.7826 GB, free: 12.42 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 & 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)