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.00157/0.00157, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002354/0.002354, allocations: 222.6 kB / 23 MB, free: 4.91 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.8 MB, free: 7.805 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.002693/0.002693, allocations: 290.9 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.263/1.263, 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: translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") translateModel(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle") [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.003/0.003, allocations: 103.4 kB / 0.7407 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1671, allocations: 95.38 MB / 0.8338 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002789/0.1699, allocations: 1.571 MB / 0.8354 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.1712, allocations: 0.6482 MB / 0.836 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.1712, allocations: 4 kB / 0.836 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1715, allocations: 51.67 kB / 0.8361 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.1719, allocations: 175.4 kB / 0.8362 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.259e-05/0.1719, allocations: 0 / 0.8362 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.1721, allocations: 183.3 kB / 0.8364 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.1722, allocations: 5.312 kB / 0.8364 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1724, allocations: 87.67 kB / 0.8365 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.1725, allocations: 99.56 kB / 0.8366 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1726, allocations: 4 kB / 0.8366 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.1728, allocations: 127.8 kB / 0.8367 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/0.1729, allocations: 63.8 kB / 0.8368 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.173, allocations: 63.61 kB / 0.8368 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.1733, allocations: 247 kB / 0.8371 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1733, allocations: 4 kB / 0.8371 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1733, allocations: 3.938 kB / 0.8371 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1733, allocations: 0 / 0.8371 GB, free: 4.539 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.0005214/0.1738, allocations: 389.4 kB / 0.8374 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1739, allocations: 9.938 kB / 0.8374 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.1741, allocations: 40.78 kB / 0.8375 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1742, allocations: 118.4 kB / 0.8376 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1742, allocations: 8.359 kB / 0.8376 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1743, allocations: 20.36 kB / 0.8376 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.1748, allocations: 355.2 kB / 0.838 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1748, allocations: 0 / 0.838 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.1748, allocations: 7.984 kB / 0.838 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.1749, allocations: 68.27 kB / 0.838 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1752, allocations: 221.8 kB / 0.8383 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.1767, allocations: 0.9089 MB / 0.8391 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.1769, allocations: 122.8 kB / 0.8393 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.177, allocations: 93.14 kB / 0.8393 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.177, allocations: 4 kB / 0.8393 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1771, allocations: 30.56 kB / 0.8394 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.1771, allocations: 0 / 0.8394 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0005652/0.1776, allocations: 374.5 kB / 0.8397 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.1777, allocations: 51.41 kB / 0.8398 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1778, allocations: 159.8 kB / 0.8399 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1778, allocations: 33.64 kB / 0.84 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1779, allocations: 160.5 kB / 0.8401 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1781, allocations: 134.7 kB / 0.8402 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.1781, allocations: 77.61 kB / 0.8403 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1783, allocations: 330.8 kB / 0.8406 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.1785, allocations: 104.4 kB / 0.8407 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1787, allocations: 230.4 kB / 0.841 GB, free: 312 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.1792, allocations: 395.9 kB / 0.8413 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1792, allocations: 7.938 kB / 0.8413 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005765/0.1798, allocations: 382.7 kB / 0.8417 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1798, allocations: 8.531 kB / 0.8417 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1798, allocations: 8 kB / 0.8417 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.1798, allocations: 8 kB / 0.8417 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.18, allocations: 35.92 kB / 0.8418 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.18, allocations: 7.938 kB / 0.8418 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1802, allocations: 43.66 kB / 0.8418 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.1803, allocations: 31.98 kB / 0.8418 GB, free: 15.34 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.0001972/0.1804, allocations: 157.7 kB / 0.842 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.884e-05/0.1805, allocations: 15.86 kB / 0.842 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.181, allocations: 279.1 kB / 0.8423 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.439e-05/0.1811, allocations: 23.98 kB / 0.8423 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1811, allocations: 4 kB / 0.8423 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1811, allocations: 3.938 kB / 0.8423 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008755/0.182, allocations: 0.5638 MB / 0.8429 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.182, allocations: 0 / 0.8429 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.851e-05/0.182, allocations: 4 kB / 0.8429 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.182, allocations: 4 kB / 0.8429 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1821, allocations: 15.97 kB / 0.8429 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1821, allocations: 3.938 kB / 0.8429 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1821, allocations: 0 / 0.8429 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.1825, allocations: 387 kB / 0.8433 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.1826, allocations: 23.8 kB / 0.8433 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.1826, allocations: 0 / 0.8433 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.065e-05/0.1827, allocations: 11.92 kB / 0.8433 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.1827, allocations: 11.97 kB / 0.8433 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.1827, allocations: 16 kB / 0.8433 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.093e-05/0.1828, allocations: 109 kB / 0.8434 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1828, allocations: 0 / 0.8434 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003911/0.1832, allocations: 63.92 kB / 0.8435 GB, free: 13.59 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.000315/0.1835, allocations: 144.4 kB / 0.8436 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.1839, allocations: 263.4 kB / 0.8439 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1839, allocations: 0 / 0.8439 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.1841, allocations: 111.3 kB / 0.844 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1843, allocations: 15.92 kB / 0.844 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/0.1851, allocations: 0.4946 MB / 0.8445 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.1853, allocations: 156.6 kB / 0.8446 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1854, allocations: 43.42 kB / 0.8447 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.1854, allocations: 0 / 0.8447 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.004834/0.1903, allocations: 2.54 MB / 0.8471 GB, free: 9.781 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.721713557839394] Failed to read output from testmodel.py, exit status != 0: 0.19747924571856856 0.21301521499999995 0.036625041000000004 Calling exit ...