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.005872/0.005872, allocations: 98.39 kB / 15.73 MB, free: 5.98 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.001585/0.001586, allocations: 194.7 kB / 16.68 MB, free: 5.91 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 288.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.21/1.21, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 99.84 kB / 0.6943 GB, free: 15.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3716, allocations: 89.12 MB / 0.7813 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002217/0.3738, allocations: 1.61 MB / 0.7829 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.375, allocations: 0.6706 MB / 0.7835 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.3751, allocations: 5.469 kB / 0.7835 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3753, allocations: 65.27 kB / 0.7836 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.3758, allocations: 168.2 kB / 0.7838 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.128e-05/0.3758, allocations: 1.188 kB / 0.7838 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.376, allocations: 181.5 kB / 0.7839 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.3761, allocations: 18.88 kB / 0.7839 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.3762, allocations: 74.53 kB / 0.784 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3764, allocations: 92.3 kB / 0.7841 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3764, allocations: 10.28 kB / 0.7841 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.3767, allocations: 119.4 kB / 0.7842 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.3768, allocations: 75.41 kB / 0.7843 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.208e-05/0.3768, allocations: 77.86 kB / 0.7844 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.3772, allocations: 243.7 kB / 0.7846 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3772, allocations: 0 / 0.7846 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.018e-06/0.3772, allocations: 1.125 kB / 0.7846 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3772, allocations: 3.938 kB / 0.7846 GB, free: 14.61 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.0005618/0.3778, allocations: 465.6 kB / 0.7851 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.3778, allocations: 8.75 kB / 0.7851 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.714e-05/0.3779, allocations: 64.53 kB / 0.7851 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3779, allocations: 20.27 kB / 0.7851 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.3781, allocations: 187.6 kB / 0.7853 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.3781, allocations: 6.875 kB / 0.7853 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.3781, allocations: 18.86 kB / 0.7853 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.3786, allocations: 351.4 kB / 0.7857 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3786, allocations: 9.188 kB / 0.7857 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3787, allocations: 10.3 kB / 0.7857 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.3788, allocations: 63 kB / 0.7858 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.3791, allocations: 219 kB / 0.786 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3805, allocations: 0.9881 MB / 0.7869 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3808, allocations: 211.3 kB / 0.7871 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.381, allocations: 110.7 kB / 0.7872 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.381, allocations: 1.188 kB / 0.7872 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.381, allocations: 39.77 kB / 0.7873 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.381, allocations: 1.188 kB / 0.7873 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.0005669/0.3816, allocations: 368.8 kB / 0.7876 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.3817, allocations: 60.47 kB / 0.7877 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3818, allocations: 143.1 kB / 0.7878 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.3818, allocations: 30.88 kB / 0.7879 GB, free: 12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.3819, allocations: 160.1 kB / 0.788 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3821, allocations: 134.6 kB / 0.7881 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3822, allocations: 81.58 kB / 0.7882 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3823, allocations: 332.2 kB / 0.7885 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3825, allocations: 98.98 kB / 0.7886 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3827, allocations: 232.8 kB / 0.7888 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.3832, allocations: 389.4 kB / 0.7892 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3832, allocations: 1.156 kB / 0.7892 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005419/0.3838, allocations: 393.2 kB / 0.7896 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3838, allocations: 6.344 kB / 0.7896 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3838, allocations: 4.281 kB / 0.7896 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3838, allocations: 5.438 kB / 0.7896 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.384, allocations: 45.73 kB / 0.7897 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.384, allocations: 9.844 kB / 0.7897 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.3842, allocations: 37.7 kB / 0.7897 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.3842, allocations: 35.64 kB / 0.7897 GB, free: 10.61 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.0001489/0.3844, allocations: 157.9 kB / 0.7899 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.3844, allocations: 20.94 kB / 0.7899 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.3848, allocations: 280 kB / 0.7902 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.948e-05/0.3849, allocations: 26.11 kB / 0.7902 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3849, allocations: 5.047 kB / 0.7902 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.385, allocations: 3.984 kB / 0.7902 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.3859, allocations: 0.6307 MB / 0.7908 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3859, allocations: 0 / 0.7908 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.3859, allocations: 10.72 kB / 0.7908 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.386, allocations: 1.25 kB / 0.7908 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.386, allocations: 7.578 kB / 0.7908 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.386, allocations: 1.188 kB / 0.7908 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.386, allocations: 1.188 kB / 0.7908 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.3864, allocations: 383.3 kB / 0.7912 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.346e-05/0.3865, allocations: 111 kB / 0.7913 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.3865, allocations: 5.516 kB / 0.7913 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.3866, allocations: 0 / 0.7913 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.3867, allocations: 25.42 kB / 0.7913 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.3867, allocations: 14.56 kB / 0.7914 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.15e-05/0.3868, allocations: 109.6 kB / 0.7915 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3868, allocations: 0 / 0.7915 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003889/0.3872, allocations: 57.48 kB / 0.7915 GB, free: 9.363 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.0009313/0.3881, allocations: 0.9635 MB / 0.7925 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004471/0.3886, allocations: 277.5 kB / 0.7927 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3886, allocations: 3.938 kB / 0.7927 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.3888, allocations: 129.7 kB / 0.7929 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.3891, allocations: 12.16 kB / 0.7929 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3901, allocations: 0.5303 MB / 0.7934 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.3905, allocations: 0.7624 MB / 0.7941 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002406/0.3907, allocations: 74.84 kB / 0.7942 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.3909, allocations: 78.22 kB / 0.7943 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.3909, allocations: 0 / 0.7943 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4175, allocations: 3.869 MB / 0.798 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.785/9.203, allocations: 15.06 kB / 0.7981 GB, free: 5.289 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)