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.001394/0.001394, allocations: 107.6 kB / 16.45 MB, free: 6.5 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.001502/0.001502, allocations: 216 kB / 19.43 MB, free: 3.656 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.328/1.328, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002345/0.002345, allocations: 273.7 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.108/1.108, allocations: 180.9 MB / 0.5333 GB, free: 13.79 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 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.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.002683/0.002683, allocations: 102.7 kB / 0.7342 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1624, allocations: 95.34 MB / 0.8273 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002947/0.1654, allocations: 1.62 MB / 0.8289 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1667, allocations: 0.7148 MB / 0.8296 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.1667, allocations: 0 / 0.8296 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.167, allocations: 67.86 kB / 0.8297 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.1674, allocations: 183.3 kB / 0.8298 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.12e-05/0.1674, allocations: 4 kB / 0.8298 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1676, allocations: 175.3 kB / 0.83 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.1676, allocations: 9.109 kB / 0.83 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1678, allocations: 79.75 kB / 0.8301 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1679, allocations: 99.61 kB / 0.8302 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1679, allocations: 7.938 kB / 0.8302 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.1682, allocations: 131.8 kB / 0.8303 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.1683, allocations: 71.67 kB / 0.8304 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.357e-05/0.1684, allocations: 83.53 kB / 0.8305 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000341/0.1687, allocations: 235 kB / 0.8307 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1687, allocations: 8 kB / 0.8307 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1687, allocations: 0 / 0.8307 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.1687, allocations: 0 / 0.8307 GB, free: 6.402 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.0006446/0.1694, allocations: 471.5 kB / 0.8312 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1694, allocations: 12.03 kB / 0.8312 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.1695, allocations: 50.73 kB / 0.8312 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.1697, allocations: 36.78 kB / 0.8312 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1698, allocations: 180.1 kB / 0.8314 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1698, allocations: 12.36 kB / 0.8314 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1699, allocations: 20.36 kB / 0.8315 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.1704, allocations: 358.4 kB / 0.8318 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1704, allocations: 3.938 kB / 0.8318 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1704, allocations: 8 kB / 0.8318 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.1705, allocations: 64.28 kB / 0.8319 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.1708, allocations: 217 kB / 0.8321 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.1722, allocations: 0.9949 MB / 0.833 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1725, allocations: 200 kB / 0.8332 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1726, allocations: 93.08 kB / 0.8333 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1726, allocations: 4 kB / 0.8333 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1726, allocations: 34.56 kB / 0.8334 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.292e-06/0.1726, allocations: 3.938 kB / 0.8334 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005464/0.1732, allocations: 368.3 kB / 0.8337 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.1732, allocations: 59.34 kB / 0.8338 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1733, allocations: 151.4 kB / 0.8339 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1734, allocations: 29.69 kB / 0.8339 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.1735, allocations: 156.5 kB / 0.8341 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.943e-05/0.1736, allocations: 130.8 kB / 0.8342 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.1736, allocations: 77.61 kB / 0.8343 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1738, allocations: 326.8 kB / 0.8346 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.1739, allocations: 108.5 kB / 0.8347 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1742, allocations: 234.7 kB / 0.8349 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.1746, allocations: 395 kB / 0.8353 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1746, allocations: 4 kB / 0.8353 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005173/0.1751, allocations: 393.2 kB / 0.8357 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1751, allocations: 5.875 kB / 0.8357 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1752, allocations: 8 kB / 0.8357 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1752, allocations: 4 kB / 0.8357 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1753, allocations: 39.86 kB / 0.8357 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.1753, allocations: 11.98 kB / 0.8358 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1754, allocations: 39.61 kB / 0.8358 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.1755, allocations: 28 kB / 0.8358 GB, free: 0.7656 MB / 0.5762 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.0001383/0.1756, allocations: 158 kB / 0.836 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.1757, allocations: 19.89 kB / 0.836 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.176, allocations: 283 kB / 0.8363 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.958e-05/0.1761, allocations: 27.92 kB / 0.8363 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1761, allocations: 0 / 0.8363 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1761, allocations: 0 / 0.8363 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008694/0.177, allocations: 0.6344 MB / 0.8369 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.177, allocations: 0 / 0.8369 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.177, allocations: 11.94 kB / 0.8369 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.177, allocations: 4 kB / 0.8369 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1771, allocations: 19.97 kB / 0.8369 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1771, allocations: 0 / 0.8369 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1771, allocations: 0 / 0.8369 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.1775, allocations: 383 kB / 0.8373 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.1775, allocations: 104.8 kB / 0.8374 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1776, allocations: 3.984 kB / 0.8374 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.1776, allocations: 0 / 0.8374 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.1777, allocations: 19.92 kB / 0.8374 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.1777, allocations: 27.91 kB / 0.8375 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.359e-05/0.1778, allocations: 104.8 kB / 0.8376 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1778, allocations: 0 / 0.8376 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003441/0.1781, allocations: 63.89 kB / 0.8376 GB, free: 14.82 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.0009266/0.179, allocations: 0.9622 MB / 0.8386 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.1794, allocations: 256.5 kB / 0.8388 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1794, allocations: 0 / 0.8388 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1796, allocations: 111.8 kB / 0.8389 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.1798, allocations: 14.19 kB / 0.8389 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009149/0.1807, allocations: 0.5333 MB / 0.8394 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1811, allocations: 0.7562 MB / 0.8402 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.1813, allocations: 81.47 kB / 0.8403 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1815, allocations: 75.41 kB / 0.8403 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.1815, allocations: 0 / 0.8403 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.2098, allocations: 3.895 MB / 0.8441 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/8.379, allocations: 1.797 kB / 0.8441 GB, free: 8.184 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.14828083710745] Failed to read output from testmodel.py, exit status != 0: 8.454299857839942 8.473048113 8.300873245 Calling exit ...