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.001837/0.001837, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002258/0.002258, allocations: 164.4 kB / 23.01 MB, free: 4.598 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.429/1.429, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.002504/0.002504, allocations: 233.9 kB / 260 MB, free: 476 kB / 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 0.9448/0.9448, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.003095/0.003095, allocations: 91.86 kB / 0.6473 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3839, allocations: 95.34 MB / 0.7404 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002244/0.3862, allocations: 1.565 MB / 0.7419 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.3872, allocations: 0.6543 MB / 0.7426 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.528e-05/0.3872, allocations: 1.125 kB / 0.7426 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.3874, allocations: 49.92 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.3878, allocations: 173.5 kB / 0.7428 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 1.144e-05/0.3878, allocations: 0 / 0.7428 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.388, allocations: 178.2 kB / 0.743 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.388, allocations: 9.688 kB / 0.743 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3882, allocations: 92.14 kB / 0.7431 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3883, allocations: 91.11 kB / 0.7432 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3883, allocations: 7.219 kB / 0.7432 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3886, allocations: 124.7 kB / 0.7433 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.596e-05/0.3886, allocations: 67.2 kB / 0.7433 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.3887, allocations: 60.94 kB / 0.7434 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.389, allocations: 255.8 kB / 0.7436 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.389, allocations: 0 / 0.7436 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.389, allocations: 5.75 kB / 0.7437 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.389, allocations: 0 / 0.7437 GB, free: 15.55 MB / 0.5919 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.0003933/0.3894, allocations: 393.6 kB / 0.744 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.3894, allocations: 12.94 kB / 0.744 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.3896, allocations: 27.98 kB / 0.7441 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.841e-05/0.3897, allocations: 128.5 kB / 0.7442 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3897, allocations: 7.25 kB / 0.7442 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3897, allocations: 17.98 kB / 0.7442 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.3901, allocations: 363.9 kB / 0.7446 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3901, allocations: 0 / 0.7446 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3902, allocations: 9.375 kB / 0.7446 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/0.3903, allocations: 61.12 kB / 0.7446 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.3905, allocations: 221.5 kB / 0.7448 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3917, allocations: 0.9258 MB / 0.7457 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3919, allocations: 121.8 kB / 0.7459 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.392, allocations: 91.41 kB / 0.7459 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.392, allocations: 2.75 kB / 0.7459 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.392, allocations: 40.53 kB / 0.746 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.513e-06/0.392, allocations: 4 kB / 0.746 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.0004859/0.3925, allocations: 362.7 kB / 0.7463 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.3925, allocations: 54.31 kB / 0.7464 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.995e-05/0.3926, allocations: 155.6 kB / 0.7465 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3926, allocations: 30.61 kB / 0.7466 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.3927, allocations: 161.2 kB / 0.7467 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.3927, allocations: 137.5 kB / 0.7469 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.3928, allocations: 78.62 kB / 0.7469 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/0.3929, allocations: 331.7 kB / 0.7472 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.393, allocations: 101.9 kB / 0.7473 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3932, allocations: 227.7 kB / 0.7476 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3935, allocations: 398 kB / 0.7479 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3935, allocations: 1.312 kB / 0.7479 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004651/0.394, allocations: 389.3 kB / 0.7483 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.394, allocations: 6.438 kB / 0.7483 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.394, allocations: 4.281 kB / 0.7483 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.394, allocations: 6.031 kB / 0.7483 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3942, allocations: 37.44 kB / 0.7484 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3942, allocations: 11.03 kB / 0.7484 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3943, allocations: 42.34 kB / 0.7484 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.3943, allocations: 29.09 kB / 0.7484 GB, free: 12.39 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 9.498e-05/0.3944, allocations: 157.9 kB / 0.7486 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3945, allocations: 17.17 kB / 0.7486 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.3948, allocations: 284.2 kB / 0.7489 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.766e-05/0.3949, allocations: 26.08 kB / 0.7489 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3949, allocations: 0.6094 kB / 0.7489 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3949, allocations: 5.797 kB / 0.7489 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.3956, allocations: 0.5655 MB / 0.7495 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3956, allocations: 0 / 0.7495 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3957, allocations: 6.281 kB / 0.7495 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3957, allocations: 1.156 kB / 0.7495 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3957, allocations: 14.86 kB / 0.7495 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3957, allocations: 9.188 kB / 0.7495 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3957, allocations: 0 / 0.7495 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.396, allocations: 397.4 kB / 0.7499 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.396, allocations: 26.23 kB / 0.7499 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3961, allocations: 5.109 kB / 0.7499 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.632e-05/0.3962, allocations: 5.188 kB / 0.7499 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3962, allocations: 12.67 kB / 0.7499 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.3962, allocations: 20.72 kB / 0.7499 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.3963, allocations: 109.3 kB / 0.75 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.3963, allocations: 1.062 kB / 0.75 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003652/0.3966, allocations: 66.39 kB / 0.7501 GB, free: 11.45 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.0002257/0.3969, allocations: 127.3 kB / 0.7502 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.3972, allocations: 267.4 kB / 0.7505 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3972, allocations: 8.062 kB / 0.7505 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3974, allocations: 103.2 kB / 0.7506 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.3976, allocations: 13.73 kB / 0.7506 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.3982, allocations: 474.1 kB / 0.7511 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.3983, allocations: 146.4 kB / 0.7512 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.3985, allocations: 82.56 kB / 0.7513 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.3986, allocations: 39.2 kB / 0.7513 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.3986, allocations: 0 / 0.7513 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of Templates: time 0.004483/0.4031, allocations: 1.43 MB / 0.7527 GB, free: 10.71 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Examples.RotateRectangle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.877220444963314] Failed to read output from testmodel.py, exit status != 0: 0.4108957010321319 0.42129511900000005 0.029928003 Calling exit ...