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.001775/0.001775, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.00224/0.00224, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.773 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.003495/0.003495, allocations: 294.2 kB / 312.7 MB, free: 2.578 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.301/1.301, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.1 MB " [Timeout remaining time 178] 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.002868/0.002868, allocations: 99.31 kB / 0.7395 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1767, allocations: 95.4 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002879/0.1796, allocations: 1.561 MB / 0.8341 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1808, allocations: 0.6482 MB / 0.8348 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.1809, allocations: 4 kB / 0.8348 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.1811, allocations: 55.95 kB / 0.8348 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004266/0.1816, allocations: 171.4 kB / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.257e-05/0.1816, allocations: 0 / 0.835 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.1818, allocations: 183.3 kB / 0.8352 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.1819, allocations: 9.312 kB / 0.8352 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.1821, allocations: 87.61 kB / 0.8353 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1822, allocations: 99.61 kB / 0.8354 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1822, allocations: 4 kB / 0.8354 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.1825, allocations: 119.8 kB / 0.8355 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.214e-05/0.1826, allocations: 67.8 kB / 0.8355 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.1827, allocations: 67.59 kB / 0.8356 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.183, allocations: 246.9 kB / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.183, allocations: 0 / 0.8358 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.797e-06/0.183, allocations: 4 kB / 0.8358 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.183, allocations: 4 kB / 0.8359 GB, free: 4.969 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.0005663/0.1836, allocations: 393.4 kB / 0.8362 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1836, allocations: 9.344 kB / 0.8362 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.019e-05/0.1837, allocations: 66.7 kB / 0.8363 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.1839, allocations: 32.78 kB / 0.8363 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.184, allocations: 122.3 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.184, allocations: 12.38 kB / 0.8365 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.1841, allocations: 16.36 kB / 0.8365 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004959/0.1846, allocations: 355.1 kB / 0.8368 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1846, allocations: 7.938 kB / 0.8368 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1846, allocations: 4 kB / 0.8368 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.1847, allocations: 68.27 kB / 0.8369 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003061/0.185, allocations: 213.8 kB / 0.8371 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.1865, allocations: 0.9435 MB / 0.838 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1867, allocations: 122.8 kB / 0.8381 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1869, allocations: 93.14 kB / 0.8382 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1869, allocations: 7.938 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.1869, allocations: 30.56 kB / 0.8383 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.1869, allocations: 4 kB / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005832/0.1875, allocations: 378.5 kB / 0.8386 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1876, allocations: 55.34 kB / 0.8387 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1877, allocations: 151.4 kB / 0.8388 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.1877, allocations: 29.69 kB / 0.8388 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.1878, allocations: 156.5 kB / 0.839 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.188, allocations: 138.7 kB / 0.8391 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.474e-05/0.1881, allocations: 77.59 kB / 0.8392 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1882, allocations: 330.8 kB / 0.8395 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.1884, allocations: 108.4 kB / 0.8396 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.1886, allocations: 234.4 kB / 0.8398 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.1891, allocations: 388 kB / 0.8402 GB, free: 176 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1891, allocations: 0 / 0.8402 GB, free: 176 kB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005581/0.1897, allocations: 385.1 kB / 0.8406 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1897, allocations: 8 kB / 0.8406 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1897, allocations: 4 kB / 0.8406 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1897, allocations: 8 kB / 0.8406 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1898, allocations: 39.86 kB / 0.8406 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1899, allocations: 7.938 kB / 0.8406 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.19, allocations: 43.7 kB / 0.8407 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.19, allocations: 24.41 kB / 0.8407 GB, free: 15.66 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.0001516/0.1902, allocations: 165.6 kB / 0.8409 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1902, allocations: 15.86 kB / 0.8409 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.1906, allocations: 285.2 kB / 0.8412 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.831e-05/0.1907, allocations: 31.91 kB / 0.8412 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1907, allocations: 0 / 0.8412 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1907, allocations: 0 / 0.8412 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.1916, allocations: 0.6023 MB / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1916, allocations: 0 / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.1917, allocations: 15.92 kB / 0.8418 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1917, allocations: 0 / 0.8418 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1917, allocations: 11.98 kB / 0.8418 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1917, allocations: 8 kB / 0.8418 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1917, allocations: 0 / 0.8418 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.1922, allocations: 386.9 kB / 0.8422 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.1922, allocations: 27.73 kB / 0.8422 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1922, allocations: 7.969 kB / 0.8422 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.1923, allocations: 4 kB / 0.8422 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1923, allocations: 11.98 kB / 0.8422 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.1924, allocations: 23.97 kB / 0.8423 GB, free: 14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.551e-05/0.1924, allocations: 103.3 kB / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1924, allocations: 4 kB / 0.8424 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003648/0.1928, allocations: 59.92 kB / 0.8424 GB, free: 13.83 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.0009489/0.1938, allocations: 0.9577 MB / 0.8433 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.1942, allocations: 262.2 kB / 0.8436 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1942, allocations: 4 kB / 0.8436 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1943, allocations: 111.9 kB / 0.8437 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.1946, allocations: 11.98 kB / 0.8437 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009738/0.1956, allocations: 0.5295 MB / 0.8442 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.1957, allocations: 148.7 kB / 0.8444 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.196, allocations: 81.42 kB / 0.8445 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1961, allocations: 71.39 kB / 0.8445 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.1961, allocations: 0 / 0.8445 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.2281, allocations: 4.236 MB / 0.8487 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 10.92 kB / 0.8487 GB, free: 7.492 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.612008864060044] Failed to read output from testmodel.py, exit status != 0: 11.326855783816427 11.352697072 11.165180493 Calling exit ...