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.001296/0.001296, allocations: 84.53 kB / 19.02 MB, free: 2.719 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.001436/0.001436, allocations: 166.1 kB / 22.26 MB, free: 4.707 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.423/1.423, allocations: 177.2 MB / 202.6 MB, free: 9.258 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.002483/0.002483, allocations: 238.1 kB / 259.2 MB, free: 0.582 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.05/1.05, allocations: 138.5 MB / 454.2 MB, free: 2.047 MB / 366.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.003171/0.003171, allocations: 103.8 kB / 0.6466 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3812, allocations: 95.34 MB / 0.7397 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.003125/0.3843, allocations: 1.566 MB / 0.7412 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3859, allocations: 0.6543 MB / 0.7418 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.386, allocations: 4 kB / 0.7419 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.3863, allocations: 51.73 kB / 0.7419 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.3868, allocations: 167.4 kB / 0.7421 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.846e-05/0.3869, allocations: 0 / 0.7421 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.3871, allocations: 183.3 kB / 0.7422 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.3872, allocations: 9.297 kB / 0.7422 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.3875, allocations: 111.6 kB / 0.7424 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3877, allocations: 91.62 kB / 0.7424 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3877, allocations: 4 kB / 0.7424 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.3879, allocations: 127.8 kB / 0.7426 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.388, allocations: 67.81 kB / 0.7426 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.367e-05/0.3881, allocations: 63.59 kB / 0.7427 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.3885, allocations: 248.4 kB / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.3885, allocations: 4 kB / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3885, allocations: 0 / 0.7429 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3885, allocations: 0 / 0.7429 GB, free: 11.91 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.0005899/0.3891, allocations: 397.4 kB / 0.7433 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3891, allocations: 8.75 kB / 0.7433 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002385/0.3894, allocations: 32.78 kB / 0.7433 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3895, allocations: 130.2 kB / 0.7435 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3895, allocations: 8.375 kB / 0.7435 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.3895, allocations: 20.36 kB / 0.7435 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.3901, allocations: 359.2 kB / 0.7438 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3901, allocations: 3.984 kB / 0.7438 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3901, allocations: 11.92 kB / 0.7439 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.3902, allocations: 68.27 kB / 0.7439 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3906, allocations: 221.1 kB / 0.7441 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.392, allocations: 0.9246 MB / 0.745 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.3923, allocations: 122.9 kB / 0.7452 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3924, allocations: 97.08 kB / 0.7452 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3924, allocations: 4 kB / 0.7453 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3924, allocations: 30.56 kB / 0.7453 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.3924, allocations: 0 / 0.7453 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.000596/0.393, allocations: 362.6 kB / 0.7456 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3931, allocations: 59.39 kB / 0.7457 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.3932, allocations: 151.8 kB / 0.7458 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.3933, allocations: 29.69 kB / 0.7459 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3934, allocations: 156.5 kB / 0.746 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3935, allocations: 138.8 kB / 0.7461 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.3936, allocations: 77.61 kB / 0.7462 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3937, allocations: 330.8 kB / 0.7465 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.3939, allocations: 108.4 kB / 0.7466 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.3942, allocations: 226.4 kB / 0.7468 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000477/0.3946, allocations: 401.3 kB / 0.7472 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3946, allocations: 0 / 0.7472 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005439/0.3952, allocations: 389 kB / 0.7476 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3952, allocations: 8 kB / 0.7476 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3952, allocations: 4.531 kB / 0.7476 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3952, allocations: 4 kB / 0.7476 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.3954, allocations: 43.92 kB / 0.7477 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3954, allocations: 4 kB / 0.7477 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3955, allocations: 43.61 kB / 0.7477 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.3956, allocations: 27.97 kB / 0.7477 GB, free: 6.676 MB / 0.5762 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.0001511/0.3957, allocations: 157.7 kB / 0.7479 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.3958, allocations: 19.86 kB / 0.7479 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004246/0.3962, allocations: 283.1 kB / 0.7482 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/0.3963, allocations: 23.98 kB / 0.7482 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3963, allocations: 0 / 0.7482 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3963, allocations: 7.938 kB / 0.7482 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.3971, allocations: 0.5677 MB / 0.7488 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3971, allocations: 0 / 0.7488 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.3972, allocations: 12 kB / 0.7488 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3972, allocations: 0 / 0.7488 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3972, allocations: 11.92 kB / 0.7488 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3972, allocations: 3.938 kB / 0.7488 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3972, allocations: 0 / 0.7488 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.3976, allocations: 397.8 kB / 0.7492 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.3977, allocations: 23.8 kB / 0.7492 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.3977, allocations: 7.984 kB / 0.7492 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.3978, allocations: 7.938 kB / 0.7492 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3978, allocations: 19.95 kB / 0.7492 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.3979, allocations: 20 kB / 0.7492 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.3979, allocations: 103.2 kB / 0.7493 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3979, allocations: 0 / 0.7493 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003791/0.3983, allocations: 63.86 kB / 0.7494 GB, free: 4.898 MB / 0.5762 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.0002744/0.3986, allocations: 139.2 kB / 0.7495 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.399, allocations: 259.5 kB / 0.7498 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.399, allocations: 0 / 0.7498 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3992, allocations: 107.9 kB / 0.7499 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.3994, allocations: 11.92 kB / 0.7499 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.4002, allocations: 480.1 kB / 0.7503 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.4003, allocations: 152.7 kB / 0.7505 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002235/0.4006, allocations: 73.44 kB / 0.7506 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.873e-05/0.4007, allocations: 36.48 kB / 0.7506 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.4007, allocations: 0 / 0.7506 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of Templates: time 0.004509/0.4052, allocations: 1.432 MB / 0.752 GB, free: 2.215 MB / 0.5762 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: 5.743378534913063] Failed to read output from testmodel.py, exit status != 0: 0.41370872035622597 0.428049778 0.036352384 Calling exit ...