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.001746/0.001746, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001451/0.001451, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.002483/0.002483, allocations: 281.4 kB / 312.7 MB, free: 2.805 MB / 238.1 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 1.159/1.159, allocations: 180.6 MB / 0.5369 GB, free: 12.98 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 99.53 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1638, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002869/0.1666, allocations: 1.625 MB / 0.8343 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1678, allocations: 0.7144 MB / 0.835 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.1679, allocations: 3.938 kB / 0.835 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1681, allocations: 71.84 kB / 0.8351 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.1685, allocations: 171.4 kB / 0.8352 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.117e-05/0.1685, allocations: 4 kB / 0.8352 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.1688, allocations: 179.2 kB / 0.8354 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.1688, allocations: 5.312 kB / 0.8354 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.169, allocations: 87.72 kB / 0.8355 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.1691, allocations: 99.56 kB / 0.8356 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1692, allocations: 11.98 kB / 0.8356 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.1694, allocations: 123.9 kB / 0.8357 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.1695, allocations: 75.67 kB / 0.8358 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.389e-05/0.1696, allocations: 75.53 kB / 0.8359 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.1699, allocations: 239 kB / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1699, allocations: 0 / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1699, allocations: 0 / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1699, allocations: 0 / 0.8361 GB, free: 5.16 MB / 0.5762 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.000482/0.1703, allocations: 401.4 kB / 0.8365 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1704, allocations: 13.34 kB / 0.8365 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.1704, allocations: 58.7 kB / 0.8365 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002075/0.1707, allocations: 36.78 kB / 0.8366 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.407e-05/0.1707, allocations: 122.3 kB / 0.8367 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1708, allocations: 8.375 kB / 0.8367 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1708, allocations: 20.3 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.1712, allocations: 359 kB / 0.8371 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1712, allocations: 4 kB / 0.8371 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1713, allocations: 4 kB / 0.8371 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/0.1714, allocations: 72.27 kB / 0.8371 GB, free: 4 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.1717, allocations: 213.8 kB / 0.8373 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.173, allocations: 0.9669 MB / 0.8383 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1732, allocations: 122.8 kB / 0.8384 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.1733, allocations: 97.2 kB / 0.8385 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.1733, allocations: 4 kB / 0.8385 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.1734, allocations: 34.5 kB / 0.8385 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.433e-06/0.1734, allocations: 0 / 0.8385 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005209/0.1739, allocations: 365.6 kB / 0.8389 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1739, allocations: 55.34 kB / 0.8389 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.1741, allocations: 155.9 kB / 0.8391 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1741, allocations: 33.69 kB / 0.8391 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.1742, allocations: 156.5 kB / 0.8393 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.1743, allocations: 130.8 kB / 0.8394 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.1744, allocations: 77.61 kB / 0.8395 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1745, allocations: 330.8 kB / 0.8398 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1746, allocations: 104.4 kB / 0.8399 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.1749, allocations: 234.3 kB / 0.8401 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.1753, allocations: 392 kB / 0.8405 GB, free: 352 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1753, allocations: 0 / 0.8405 GB, free: 352 kB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000521/0.1758, allocations: 396.9 kB / 0.8409 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1758, allocations: 8 kB / 0.8409 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1758, allocations: 4.531 kB / 0.8409 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1759, allocations: 8 kB / 0.8409 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.176, allocations: 39.86 kB / 0.8409 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.176, allocations: 8 kB / 0.8409 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1761, allocations: 39.62 kB / 0.841 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.1762, allocations: 27.98 kB / 0.841 GB, free: 15.82 MB / 0.5919 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.0001363/0.1763, allocations: 161.6 kB / 0.8411 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.1763, allocations: 15.91 kB / 0.8412 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.1767, allocations: 283.1 kB / 0.8414 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.517e-05/0.1768, allocations: 27.92 kB / 0.8414 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1768, allocations: 7.938 kB / 0.8415 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1768, allocations: 0 / 0.8415 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.1776, allocations: 0.5984 MB / 0.842 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1776, allocations: 0 / 0.842 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.1777, allocations: 15.92 kB / 0.8421 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1777, allocations: 7.984 kB / 0.8421 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1777, allocations: 4 kB / 0.8421 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1777, allocations: 0 / 0.8421 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1777, allocations: 0 / 0.8421 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.1781, allocations: 392.7 kB / 0.8424 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.1781, allocations: 27.72 kB / 0.8425 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.1781, allocations: 3.984 kB / 0.8425 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.1782, allocations: 4 kB / 0.8425 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1782, allocations: 23.89 kB / 0.8425 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1783, allocations: 23.98 kB / 0.8425 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.913e-05/0.1783, allocations: 99.27 kB / 0.8426 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1783, allocations: 0 / 0.8426 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003542/0.1787, allocations: 71.88 kB / 0.8427 GB, free: 13.99 MB / 0.5919 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.000885/0.1796, allocations: 0.95 MB / 0.8436 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.18, allocations: 265.3 kB / 0.8439 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.18, allocations: 0 / 0.8439 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.1801, allocations: 111.8 kB / 0.844 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.1804, allocations: 11.92 kB / 0.844 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009264/0.1813, allocations: 0.5345 MB / 0.8445 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1817, allocations: 0.7601 MB / 0.8452 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.1819, allocations: 73.44 kB / 0.8453 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.182, allocations: 79.39 kB / 0.8454 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.182, allocations: 3.938 kB / 0.8454 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.2114, allocations: 4.258 MB / 0.8496 GB, free: 7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.04, allocations: 6.5 kB / 0.8496 GB, free: 6.996 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.136431242000981] Failed to read output from testmodel.py, exit status != 0: 11.142823799000325 11.158152715 10.985308159 Calling exit ...