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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8575/0.8575, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001446/0.001446, allocations: 232.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6482/0.6482, allocations: 138.4 MB / 454.3 MB, free: 1.66 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 1.219 kB / 0.6463 GB, free: 29.11 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.332e-05, allocations: 4.391 kB / 0.6463 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.001644/0.001667, allocations: 1.551 MB / 0.6478 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.002474, allocations: 0.6545 MB / 0.6484 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.002514, allocations: 1.438 kB / 0.6484 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.002721, allocations: 56.3 kB / 0.6485 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.002989, allocations: 173.9 kB / 0.6486 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 1.163e-05/0.003001, allocations: 5.125 kB / 0.6486 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.00314, allocations: 184.1 kB / 0.6488 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.003183, allocations: 5.688 kB / 0.6488 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.00337, allocations: 118.1 kB / 0.6489 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.003472, allocations: 94.06 kB / 0.649 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.00349, allocations: 6.875 kB / 0.649 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.00367, allocations: 120.5 kB / 0.6491 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.003735, allocations: 73.39 kB / 0.6492 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.003776, allocations: 50.08 kB / 0.6493 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.003996, allocations: 262 kB / 0.6495 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.003999, allocations: 0 / 0.6495 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.233e-06/0.004, allocations: 0 / 0.6495 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004004, allocations: 1.625 kB / 0.6495 GB, free: 26.71 MB / 0.5105 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.000331/0.004336, allocations: 389.9 kB / 0.6499 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.004376, allocations: 10.34 kB / 0.6499 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.004414, allocations: 64.5 kB / 0.65 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.004552, allocations: 31.25 kB / 0.65 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.76e-05/0.004599, allocations: 126.1 kB / 0.6501 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.004615, allocations: 16.67 kB / 0.6501 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.004632, allocations: 10.78 kB / 0.6501 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.004947, allocations: 354.7 kB / 0.6505 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.004957, allocations: 1.156 kB / 0.6505 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.004971, allocations: 9.234 kB / 0.6505 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.54e-05/0.005057, allocations: 67.86 kB / 0.6505 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.005262, allocations: 219.6 kB / 0.6508 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008142/0.006077, allocations: 0.9712 MB / 0.6517 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.00625, allocations: 113.1 kB / 0.6518 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.006341, allocations: 94.86 kB / 0.6519 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.006355, allocations: 2.812 kB / 0.6519 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.00637, allocations: 36 kB / 0.6519 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.006371, allocations: 3.938 kB / 0.6519 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.0003874/0.006759, allocations: 368.6 kB / 0.6523 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.006782, allocations: 53.56 kB / 0.6523 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.006859, allocations: 154.7 kB / 0.6525 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.006867, allocations: 33.69 kB / 0.6525 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.006903, allocations: 149.6 kB / 0.6527 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.006944, allocations: 141.9 kB / 0.6528 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.007006, allocations: 73.53 kB / 0.6529 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.007043, allocations: 335.8 kB / 0.6532 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.007141, allocations: 104.3 kB / 0.6533 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.007267, allocations: 235.3 kB / 0.6535 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.007533, allocations: 389.2 kB / 0.6539 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.007536, allocations: 5.031 kB / 0.6539 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003288/0.007865, allocations: 384.9 kB / 0.6543 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.007882, allocations: 13.28 kB / 0.6543 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.007891, allocations: 7.953 kB / 0.6543 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.007909, allocations: 5.812 kB / 0.6543 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.008008, allocations: 37.55 kB / 0.6543 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.008018, allocations: 5.156 kB / 0.6543 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.008093, allocations: 45.33 kB / 0.6544 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.008129, allocations: 24.56 kB / 0.6544 GB, free: 23.05 MB / 0.5105 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 7.976e-05/0.008208, allocations: 152.9 kB / 0.6545 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.008229, allocations: 18.3 kB / 0.6546 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.008499, allocations: 299.2 kB / 0.6548 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/0.008542, allocations: 26.11 kB / 0.6549 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.008547, allocations: 1.219 kB / 0.6549 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.008551, allocations: 3.984 kB / 0.6549 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.009075, allocations: 0.6135 MB / 0.6555 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.009077, allocations: 0 / 0.6555 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.009106, allocations: 7.938 kB / 0.6555 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.009108, allocations: 0 / 0.6555 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.00912, allocations: 8.453 kB / 0.6555 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.009123, allocations: 5.062 kB / 0.6555 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.009124, allocations: 1.188 kB / 0.6555 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.009381, allocations: 384.6 kB / 0.6559 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.009398, allocations: 22.61 kB / 0.6559 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.009414, allocations: 1.219 kB / 0.6559 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.009459, allocations: 11.86 kB / 0.6559 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.009484, allocations: 19.81 kB / 0.6559 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.009503, allocations: 15.69 kB / 0.6559 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.484e-05/0.009538, allocations: 107 kB / 0.656 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.009538, allocations: 0 / 0.656 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002783/0.009816, allocations: 66.55 kB / 0.6561 GB, free: 21.93 MB / 0.5105 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.0005482/0.01036, allocations: 0.9622 MB / 0.657 GB, free: 21.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003059/0.01067, allocations: 265.2 kB / 0.6573 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01067, allocations: 1.062 kB / 0.6573 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.595e-05/0.01077, allocations: 102.7 kB / 0.6574 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01094, allocations: 34.31 kB / 0.6574 GB, free: 21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.01162, allocations: 0.5253 MB / 0.6579 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.786e-05/0.01172, allocations: 153.4 kB / 0.6581 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.01187, allocations: 75.03 kB / 0.6581 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.01197, allocations: 74.59 kB / 0.6582 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of SimCode: time 1.192e-06/0.01197, allocations: 1.312 kB / 0.6582 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.03183, allocations: 4.402 MB / 0.6625 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.169, allocations: 4.062 kB / 0.6625 GB, free: 16.75 MB / 0.5105 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.963048736564815] Failed to read output from testmodel.py, exit status != 0: 7.2537056021392345 7.26048138 7.254978354 Calling exit ...