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.0007961/0.0007961, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008797/0.0008797, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8945/0.8945, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001429/0.001429, allocations: 230.2 kB / 260.2 MB, free: 13.01 MB / 250.7 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.6554/0.6554, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.6475 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.872e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.422 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.2239/0.2239, allocations: 1.552 MB / 0.649 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.2249, allocations: 0.6553 MB / 0.6496 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.2249, allocations: 1.344 kB / 0.6496 GB, free: 56.37 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2251, allocations: 55.81 kB / 0.6497 GB, free: 56.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.2254, allocations: 172.9 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 1.106e-05/0.2254, allocations: 1.688 kB / 0.6499 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.2256, allocations: 186.7 kB / 0.65 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.2256, allocations: 8.375 kB / 0.65 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001842/0.2258, allocations: 112 kB / 0.6502 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.2259, allocations: 93.33 kB / 0.6502 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.226, allocations: 7.656 kB / 0.6502 GB, free: 56.22 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.2261, allocations: 124.6 kB / 0.6504 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.2262, allocations: 71.72 kB / 0.6504 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.2263, allocations: 50.27 kB / 0.6505 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.2265, allocations: 258.9 kB / 0.6507 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2265, allocations: 2.875 kB / 0.6507 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2265, allocations: 0.9375 kB / 0.6507 GB, free: 56.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2265, allocations: 0.8125 kB / 0.6507 GB, free: 56.14 MB / 0.5573 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.0003355/0.2269, allocations: 385.1 kB / 0.6511 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2269, allocations: 11.89 kB / 0.6511 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.2271, allocations: 31.59 kB / 0.6511 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.588e-05/0.2271, allocations: 135.4 kB / 0.6513 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.2271, allocations: 10.77 kB / 0.6513 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.2271, allocations: 12.28 kB / 0.6513 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.2274, allocations: 352.7 kB / 0.6516 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2274, allocations: 4.125 kB / 0.6516 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.2275, allocations: 9.594 kB / 0.6516 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.2275, allocations: 69.16 kB / 0.6517 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.2277, allocations: 217.8 kB / 0.6519 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007507/0.2285, allocations: 0.9194 MB / 0.6528 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.2286, allocations: 120.4 kB / 0.6529 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.2287, allocations: 91.44 kB / 0.653 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2287, allocations: 2.906 kB / 0.653 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.2287, allocations: 36.84 kB / 0.6531 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.2287, allocations: 2.734 kB / 0.6531 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.0003511/0.2291, allocations: 377.1 kB / 0.6534 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2291, allocations: 53.12 kB / 0.6535 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.2291, allocations: 152.6 kB / 0.6536 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.2292, allocations: 28.89 kB / 0.6536 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.2292, allocations: 154.1 kB / 0.6538 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.2292, allocations: 139.7 kB / 0.6539 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.2293, allocations: 71.22 kB / 0.654 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.6e-05/0.2293, allocations: 334.7 kB / 0.6543 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.2294, allocations: 106.2 kB / 0.6544 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2295, allocations: 230 kB / 0.6546 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.2298, allocations: 396.7 kB / 0.655 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2298, allocations: 3.531 kB / 0.655 GB, free: 53.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003083/0.2301, allocations: 384.7 kB / 0.6554 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2301, allocations: 8 kB / 0.6554 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2301, allocations: 4.719 kB / 0.6554 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.2301, allocations: 7.234 kB / 0.6554 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.2302, allocations: 38.44 kB / 0.6554 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.2303, allocations: 9.906 kB / 0.6554 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.2303, allocations: 38.58 kB / 0.6555 GB, free: 53.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.2303, allocations: 30.41 kB / 0.6555 GB, free: 53.36 MB / 0.5573 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 7.406e-05/0.2304, allocations: 157.5 kB / 0.6557 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.2304, allocations: 17.55 kB / 0.6557 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.2307, allocations: 291 kB / 0.656 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.012e-05/0.2307, allocations: 28.08 kB / 0.656 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2307, allocations: 0 / 0.656 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2307, allocations: 0.6094 kB / 0.656 GB, free: 53.12 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.2312, allocations: 0.5714 MB / 0.6565 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2312, allocations: 2.156 kB / 0.6565 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.611e-05/0.2312, allocations: 7.359 kB / 0.6565 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2312, allocations: 1.719 kB / 0.6565 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.2312, allocations: 7.344 kB / 0.6566 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2312, allocations: 3.125 kB / 0.6566 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2312, allocations: 0 / 0.6566 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.2315, allocations: 392 kB / 0.6569 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.2315, allocations: 22.55 kB / 0.657 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2315, allocations: 0.5625 kB / 0.657 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.2315, allocations: 6.047 kB / 0.657 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.2316, allocations: 19.52 kB / 0.657 GB, free: 52.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.2316, allocations: 19.94 kB / 0.657 GB, free: 52.56 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.2316, allocations: 112.3 kB / 0.6571 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2316, allocations: 0 / 0.6571 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002291/0.2318, allocations: 62.77 kB / 0.6572 GB, free: 52.47 MB / 0.5573 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.0002042/0.232, allocations: 141.6 kB / 0.6573 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.2323, allocations: 267.3 kB / 0.6576 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2323, allocations: 2.094 kB / 0.6576 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.2324, allocations: 109.9 kB / 0.6577 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.2325, allocations: 11.7 kB / 0.6577 GB, free: 52.27 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.233, allocations: 0.4982 MB / 0.6582 GB, free: 52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.2331, allocations: 153.3 kB / 0.6583 GB, free: 51.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2332, allocations: 50.81 kB / 0.6584 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.2332, allocations: 0 / 0.6584 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.003049/0.2362, allocations: 2.562 MB / 0.6609 GB, free: 51.7 MB / 0.5573 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.531043258495629] Failed to read output from testmodel.py, exit status != 0: 0.2419921774417162 0.25469499900000003 0.025874323 Calling exit ...