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.001012/0.001012, allocations: 112.5 kB / 15.73 MB, free: 76 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.0009943/0.0009943, allocations: 189.2 kB / 16.66 MB, free: 6.582 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.205/1.205, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 275.2 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.869/0.869, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 91.86 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1332, allocations: 86.97 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002202/0.1354, allocations: 1.593 MB / 0.7674 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.1363, allocations: 0.6743 MB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.1364, allocations: 0 / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1366, allocations: 67.94 kB / 0.7681 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.1369, allocations: 171.3 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.046e-05/0.1369, allocations: 0 / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1371, allocations: 179.4 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.1372, allocations: 20.78 kB / 0.7685 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1373, allocations: 83.62 kB / 0.7686 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1374, allocations: 91.64 kB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1374, allocations: 8 kB / 0.7687 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.1376, allocations: 115.8 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.1377, allocations: 75.78 kB / 0.7689 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.1378, allocations: 75.48 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.138, allocations: 235 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.138, allocations: 0 / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.414e-06/0.138, allocations: 0 / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.138, allocations: 3.938 kB / 0.7692 GB, free: 5.57 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.0004369/0.1385, allocations: 482.5 kB / 0.7696 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1385, allocations: 8.031 kB / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.1386, allocations: 54.72 kB / 0.7697 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.1386, allocations: 20.8 kB / 0.7697 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.1387, allocations: 180.2 kB / 0.7699 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1387, allocations: 12.38 kB / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1388, allocations: 20.3 kB / 0.7699 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1392, allocations: 358.7 kB / 0.7702 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1392, allocations: 0 / 0.7702 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1392, allocations: 4 kB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.1393, allocations: 64.22 kB / 0.7703 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.1396, allocations: 221.7 kB / 0.7705 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1408, allocations: 0.995 MB / 0.7715 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.141, allocations: 207.9 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.1411, allocations: 113.2 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.1412, allocations: 7.984 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.1412, allocations: 34.56 kB / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 1.373e-06/0.1412, allocations: 0 / 0.7718 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0004546/0.1417, allocations: 366.6 kB / 0.7722 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1417, allocations: 63.28 kB / 0.7722 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.1418, allocations: 147.6 kB / 0.7724 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1418, allocations: 33.69 kB / 0.7724 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.1419, allocations: 156.5 kB / 0.7726 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.962e-05/0.142, allocations: 134.8 kB / 0.7727 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.608e-05/0.1421, allocations: 73.61 kB / 0.7728 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.1422, allocations: 334.8 kB / 0.7731 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1423, allocations: 96.52 kB / 0.7732 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.1425, allocations: 246.6 kB / 0.7734 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.1429, allocations: 388 kB / 0.7738 GB, free: 452 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1429, allocations: 4 kB / 0.7738 GB, free: 448 kB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004413/0.1433, allocations: 393 kB / 0.7742 GB, free: 48 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1434, allocations: 15.86 kB / 0.7742 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1434, allocations: 4 kB / 0.7742 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1434, allocations: 8.531 kB / 0.7742 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2454/0.3888, allocations: 40.16 kB / 0.7742 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3888, allocations: 7.297 kB / 0.7742 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.389, allocations: 33.27 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.3891, allocations: 27.36 kB / 0.7743 GB, free: 14.86 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.0001251/0.3892, allocations: 157.9 kB / 0.7744 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/0.3892, allocations: 17.5 kB / 0.7745 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.3896, allocations: 275 kB / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.16e-05/0.3897, allocations: 25.77 kB / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3897, allocations: 3.375 kB / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3898, allocations: 0.8438 kB / 0.7747 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007652/0.3905, allocations: 0.6311 MB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3905, allocations: 0 / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.3906, allocations: 9.969 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3906, allocations: 2.875 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3906, allocations: 13.09 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3906, allocations: 1.062 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.3906, allocations: 0.8438 kB / 0.7754 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3909, allocations: 388.4 kB / 0.7758 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.391, allocations: 106.7 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.391, allocations: 3.344 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.3911, allocations: 5.047 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.3911, allocations: 13.3 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3912, allocations: 21.45 kB / 0.7759 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.631e-05/0.3912, allocations: 104.7 kB / 0.776 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3912, allocations: 0.8438 kB / 0.776 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003418/0.3916, allocations: 63.06 kB / 0.7761 GB, free: 14.07 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.0006182/0.3922, allocations: 0.9623 MB / 0.777 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.3926, allocations: 282.7 kB / 0.7773 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3926, allocations: 0.5625 kB / 0.7773 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3927, allocations: 125.7 kB / 0.7774 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.3929, allocations: 18.22 kB / 0.7774 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.3937, allocations: 0.5314 MB / 0.7779 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.3939, allocations: 0.76 MB / 0.7787 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001978/0.3941, allocations: 73.06 kB / 0.7787 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.3942, allocations: 78.44 kB / 0.7788 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.3942, allocations: 0 / 0.7788 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.4128, allocations: 3.872 MB / 0.7826 GB, free: 12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.647, allocations: 8.844 kB / 0.7826 GB, free: 11.99 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)