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.001647/0.001647, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00143/0.00143, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.435/1.435, allocations: 230.6 MB / 256.8 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.003501/0.003501, allocations: 294.5 kB / 313.5 MB, free: 2.613 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.249/1.249, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Geometries_Examples_RotateRectangle",fmuType="cs",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.002767/0.002767, allocations: 100.3 kB / 0.7402 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.185, allocations: 95.39 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.003043/0.1881, allocations: 1.566 MB / 0.8349 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1894, allocations: 0.6404 MB / 0.8355 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.1895, allocations: 0 / 0.8355 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1897, allocations: 59.89 kB / 0.8356 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.1901, allocations: 171.4 kB / 0.8358 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.277e-05/0.1902, allocations: 0 / 0.8358 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.1904, allocations: 187.3 kB / 0.8359 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.673e-05/0.1904, allocations: 5.312 kB / 0.8359 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.1907, allocations: 87.67 kB / 0.836 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1908, allocations: 95.62 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1908, allocations: 8 kB / 0.8361 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.1911, allocations: 131.8 kB / 0.8362 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.1912, allocations: 67.8 kB / 0.8363 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.1913, allocations: 63.55 kB / 0.8364 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.1916, allocations: 251 kB / 0.8366 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1916, allocations: 0 / 0.8366 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/0.1916, allocations: 0 / 0.8366 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1916, allocations: 0 / 0.8366 GB, free: 5.039 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.0005762/0.1922, allocations: 389.4 kB / 0.837 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1923, allocations: 17.34 kB / 0.837 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.756e-05/0.1923, allocations: 4.188 kB / 0.837 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.1923, allocations: 62.7 kB / 0.8371 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.1926, allocations: 32.78 kB / 0.8371 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1927, allocations: 126.2 kB / 0.8372 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1927, allocations: 16.36 kB / 0.8372 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1927, allocations: 12.36 kB / 0.8372 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005391/0.1933, allocations: 362.9 kB / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1933, allocations: 0 / 0.8376 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1933, allocations: 7.984 kB / 0.8376 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1934, allocations: 68.28 kB / 0.8377 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1938, allocations: 217.8 kB / 0.8379 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.1953, allocations: 0.9474 MB / 0.8388 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.1956, allocations: 118.9 kB / 0.8389 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1957, allocations: 93.14 kB / 0.839 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1957, allocations: 4 kB / 0.839 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1958, allocations: 30.56 kB / 0.839 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.734e-06/0.1958, allocations: 0 / 0.839 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0006359/0.1964, allocations: 366.6 kB / 0.8394 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.1965, allocations: 67.33 kB / 0.8394 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1966, allocations: 148.1 kB / 0.8396 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1966, allocations: 29.69 kB / 0.8396 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1968, allocations: 156.5 kB / 0.8398 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1969, allocations: 134.8 kB / 0.8399 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.197, allocations: 77.61 kB / 0.84 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1972, allocations: 334.8 kB / 0.8403 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1973, allocations: 104.4 kB / 0.8404 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.1976, allocations: 234.3 kB / 0.8406 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.198, allocations: 400 kB / 0.841 GB, free: 236 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1981, allocations: 0 / 0.841 GB, free: 236 kB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005616/0.1986, allocations: 389.4 kB / 0.8414 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1986, allocations: 8 kB / 0.8414 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1986, allocations: 4 kB / 0.8414 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1987, allocations: 7.938 kB / 0.8414 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1988, allocations: 39.92 kB / 0.8414 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1988, allocations: 4 kB / 0.8414 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.199, allocations: 43.62 kB / 0.8415 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.199, allocations: 23.98 kB / 0.8415 GB, free: 15.71 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.0001693/0.1992, allocations: 161.7 kB / 0.8416 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.1992, allocations: 16.06 kB / 0.8417 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004053/0.1996, allocations: 287 kB / 0.8419 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.826e-05/0.1997, allocations: 27.92 kB / 0.842 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1997, allocations: 0 / 0.842 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1997, allocations: 0 / 0.842 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.2006, allocations: 0.5984 MB / 0.8425 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.2006, allocations: 3.938 kB / 0.8425 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2007, allocations: 11.94 kB / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2007, allocations: 0 / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.2007, allocations: 11.98 kB / 0.8426 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2007, allocations: 0 / 0.8426 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2007, allocations: 8 kB / 0.8426 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.2011, allocations: 388.8 kB / 0.8429 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.2012, allocations: 27.72 kB / 0.843 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2012, allocations: 0 / 0.843 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.2013, allocations: 0 / 0.843 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.2013, allocations: 23.94 kB / 0.843 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.2014, allocations: 23.92 kB / 0.843 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.214e-05/0.2014, allocations: 103.3 kB / 0.8431 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2014, allocations: 0 / 0.8431 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004442/0.2019, allocations: 67.81 kB / 0.8432 GB, free: 13.89 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.001018/0.2029, allocations: 0.9539 MB / 0.8441 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.2033, allocations: 269.5 kB / 0.8444 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2034, allocations: 0 / 0.8444 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.2035, allocations: 107.9 kB / 0.8445 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2038, allocations: 16.11 kB / 0.8445 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/0.2048, allocations: 0.5334 MB / 0.845 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2049, allocations: 148.6 kB / 0.8451 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.2052, allocations: 81.42 kB / 0.8452 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.2053, allocations: 75.39 kB / 0.8453 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.2053, allocations: 4 kB / 0.8453 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.2298, allocations: 4.087 MB / 0.8493 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.39, allocations: 13.16 kB / 0.8493 GB, free: 7.711 MB / 0.5919 GB " [Timeout remaining time 647] (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: 16.8301802740898] Failed to read output from testmodel.py, exit status != 0: 12.558727984898724 12.581400264 12.38563152 Calling exit ...