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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001526/0.001526, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.777 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.00283/0.00283, allocations: 286 kB / 312.7 MB, free: 2.59 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.288/1.288, allocations: 180.6 MB / 0.5369 GB, free: 14.49 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.002859/0.002859, allocations: 105.7 kB / 0.7395 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1813, allocations: 95.38 MB / 0.8326 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002965/0.1842, allocations: 1.578 MB / 0.8341 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1856, allocations: 0.6365 MB / 0.8348 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.026e-05/0.1857, allocations: 4 kB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.186, allocations: 59.94 kB / 0.8348 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004929/0.1865, allocations: 175.4 kB / 0.835 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.769e-05/0.1865, allocations: 3.938 kB / 0.835 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.1868, allocations: 175.4 kB / 0.8352 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.368e-05/0.1868, allocations: 13.23 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.187, allocations: 87.66 kB / 0.8353 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1872, allocations: 91.64 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1873, allocations: 4 kB / 0.8354 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1875, allocations: 127.8 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1876, allocations: 63.81 kB / 0.8355 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.521e-05/0.1877, allocations: 63.61 kB / 0.8356 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.1881, allocations: 250.9 kB / 0.8358 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1881, allocations: 8 kB / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1881, allocations: 0 / 0.8358 GB, free: 5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.1881, allocations: 0 / 0.8358 GB, free: 5 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.0005845/0.1887, allocations: 393.4 kB / 0.8362 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1887, allocations: 9.938 kB / 0.8362 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.594e-05/0.1888, allocations: 58.72 kB / 0.8363 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002148/0.189, allocations: 28.8 kB / 0.8363 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1891, allocations: 126.3 kB / 0.8364 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.1891, allocations: 16.36 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1892, allocations: 8.375 kB / 0.8365 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.1897, allocations: 363.1 kB / 0.8368 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1897, allocations: 3.938 kB / 0.8368 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1897, allocations: 15.86 kB / 0.8368 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.1898, allocations: 64.28 kB / 0.8369 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1901, allocations: 217.8 kB / 0.8371 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1916, allocations: 0.9474 MB / 0.838 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/0.1918, allocations: 114.8 kB / 0.8381 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.192, allocations: 101.2 kB / 0.8382 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.192, allocations: 0 / 0.8382 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.1921, allocations: 42.55 kB / 0.8383 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.272e-06/0.1921, allocations: 0 / 0.8383 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005918/0.1926, allocations: 370.6 kB / 0.8386 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.1927, allocations: 59.34 kB / 0.8387 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1929, allocations: 152.6 kB / 0.8388 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1929, allocations: 29.7 kB / 0.8388 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.193, allocations: 156.5 kB / 0.839 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.1931, allocations: 142.7 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.1932, allocations: 69.62 kB / 0.8392 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1934, allocations: 330.8 kB / 0.8395 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.1936, allocations: 108.5 kB / 0.8396 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.1938, allocations: 234.4 kB / 0.8398 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.1943, allocations: 388 kB / 0.8402 GB, free: 208 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.1943, allocations: 4 kB / 0.8402 GB, free: 204 kB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005876/0.1949, allocations: 389 kB / 0.8406 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1949, allocations: 4 kB / 0.8406 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1949, allocations: 4 kB / 0.8406 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.1949, allocations: 12 kB / 0.8406 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.1951, allocations: 39.86 kB / 0.8406 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.1951, allocations: 8.469 kB / 0.8407 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.1952, allocations: 39.72 kB / 0.8407 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.1953, allocations: 31.98 kB / 0.8407 GB, free: 15.68 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.0001624/0.1954, allocations: 153.7 kB / 0.8409 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.1955, allocations: 19.84 kB / 0.8409 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.1959, allocations: 283 kB / 0.8412 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.556e-05/0.196, allocations: 23.92 kB / 0.8412 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.196, allocations: 3.984 kB / 0.8412 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.196, allocations: 0 / 0.8412 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009576/0.1969, allocations: 0.6023 MB / 0.8418 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1969, allocations: 7.938 kB / 0.8418 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.197, allocations: 11.94 kB / 0.8418 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.197, allocations: 4 kB / 0.8418 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.197, allocations: 7.984 kB / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.197, allocations: 0 / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.197, allocations: 3.938 kB / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.1975, allocations: 386.9 kB / 0.8422 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.1976, allocations: 27.73 kB / 0.8422 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1976, allocations: 0 / 0.8422 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.1977, allocations: 7.984 kB / 0.8422 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1977, allocations: 15.97 kB / 0.8422 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.1977, allocations: 16 kB / 0.8422 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.327e-05/0.1978, allocations: 112.8 kB / 0.8423 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1978, allocations: 0 / 0.8423 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003861/0.1982, allocations: 59.92 kB / 0.8424 GB, free: 13.87 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.001064/0.1993, allocations: 0.9577 MB / 0.8433 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.1997, allocations: 266.6 kB / 0.8436 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1997, allocations: 0 / 0.8436 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.1999, allocations: 113.9 kB / 0.8437 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.2001, allocations: 14.05 kB / 0.8437 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.2013, allocations: 0.5295 MB / 0.8442 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.2014, allocations: 148.7 kB / 0.8444 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.2017, allocations: 81.86 kB / 0.8445 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.2018, allocations: 71.41 kB / 0.8445 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.2018, allocations: 4 kB / 0.8445 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.2355, allocations: 4.227 MB / 0.8487 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.47, allocations: 12 kB / 0.8487 GB, free: 7.527 MB / 0.5919 GB " [Timeout remaining time 648] (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.827101726084948] Failed to read output from testmodel.py, exit status != 0: 11.575682315044105 11.593222454 11.401842341 Calling exit ...