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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002735/0.002735, allocations: 289.1 kB / 303.6 MB, free: 3.703 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.107/1.107, allocations: 180.9 MB / 0.5268 GB, free: 3.129 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003112/0.003112, allocations: 99.84 kB / 0.7259 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5732, allocations: 94.16 MB / 0.8178 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Examples.RotateRectangle): time 0.002347/0.5755, allocations: 1.601 MB / 0.8194 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.5765, allocations: 0.6786 MB / 0.8201 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.467e-05/0.5766, allocations: 1.531 kB / 0.8201 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.5768, allocations: 67.27 kB / 0.8201 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.5772, allocations: 169.4 kB / 0.8203 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.233e-05/0.5772, allocations: 4.781 kB / 0.8203 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.5774, allocations: 183.6 kB / 0.8205 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.115e-05/0.5774, allocations: 9.531 kB / 0.8205 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.5776, allocations: 81.92 kB / 0.8206 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.5777, allocations: 98.17 kB / 0.8206 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.5777, allocations: 7.125 kB / 0.8207 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.578, allocations: 122.7 kB / 0.8208 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.578, allocations: 69.69 kB / 0.8208 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.5781, allocations: 84.34 kB / 0.8209 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.5784, allocations: 238.8 kB / 0.8211 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5784, allocations: 0 / 0.8211 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5784, allocations: 1.281 kB / 0.8211 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.5784, allocations: 4 kB / 0.8211 GB, free: 5.41 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.0004539/0.5789, allocations: 466.7 kB / 0.8216 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.5789, allocations: 9.281 kB / 0.8216 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.579, allocations: 19.86 kB / 0.8216 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.579, allocations: 181.6 kB / 0.8218 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.579, allocations: 10.77 kB / 0.8218 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.5791, allocations: 22.36 kB / 0.8218 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/0.5795, allocations: 353.8 kB / 0.8222 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.5795, allocations: 3.984 kB / 0.8222 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.5796, allocations: 6.625 kB / 0.8222 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/0.5797, allocations: 67.44 kB / 0.8222 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.5799, allocations: 216 kB / 0.8224 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.5811, allocations: 0.994 MB / 0.8234 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.5813, allocations: 199.8 kB / 0.8236 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.5814, allocations: 97.92 kB / 0.8237 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.5814, allocations: 2.844 kB / 0.8237 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.5815, allocations: 35.12 kB / 0.8237 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 1.322e-06/0.5815, allocations: 0 / 0.8237 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.0004762/0.5819, allocations: 368.1 kB / 0.8241 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.582, allocations: 54 kB / 0.8241 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.5821, allocations: 152.2 kB / 0.8243 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.5821, allocations: 32.05 kB / 0.8243 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.5821, allocations: 158.7 kB / 0.8245 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.993e-05/0.5822, allocations: 134.9 kB / 0.8246 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.5823, allocations: 75.86 kB / 0.8247 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.5823, allocations: 330.5 kB / 0.825 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.5825, allocations: 108.3 kB / 0.8251 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.5826, allocations: 233.5 kB / 0.8253 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.583, allocations: 392.3 kB / 0.8257 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.583, allocations: 0 / 0.8257 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004817/0.5834, allocations: 386.5 kB / 0.826 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5835, allocations: 5.5 kB / 0.8261 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5835, allocations: 6.594 kB / 0.8261 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5835, allocations: 13.41 kB / 0.8261 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5836, allocations: 40.5 kB / 0.8261 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5836, allocations: 14.42 kB / 0.8261 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.5837, allocations: 38.58 kB / 0.8262 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.5838, allocations: 29.61 kB / 0.8262 GB, free: 1.91 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.0001001/0.5839, allocations: 158.5 kB / 0.8263 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.5839, allocations: 16.67 kB / 0.8264 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.5843, allocations: 274.6 kB / 0.8266 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-05/0.5843, allocations: 31.36 kB / 0.8266 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5843, allocations: 6.656 kB / 0.8267 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5843, allocations: 0.6094 kB / 0.8267 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.5851, allocations: 0.6301 MB / 0.8273 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5851, allocations: 0 / 0.8273 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.5852, allocations: 9.125 kB / 0.8273 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5852, allocations: 3.938 kB / 0.8273 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.5852, allocations: 12.11 kB / 0.8273 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.5852, allocations: 0 / 0.8273 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5852, allocations: 0.5625 kB / 0.8273 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.5855, allocations: 389.4 kB / 0.8277 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.5856, allocations: 107.1 kB / 0.8278 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.5856, allocations: 4.688 kB / 0.8278 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.211e-05/0.5857, allocations: 1.25 kB / 0.8278 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.5857, allocations: 17.19 kB / 0.8278 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.5857, allocations: 18.75 kB / 0.8278 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.5858, allocations: 107.4 kB / 0.8279 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5858, allocations: 0 / 0.8279 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003847/0.5862, allocations: 66.83 kB / 0.828 GB, free: 0.8242 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.0002243/0.5864, allocations: 138.1 kB / 0.8281 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.5868, allocations: 271.5 kB / 0.8284 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5868, allocations: 0 / 0.8284 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5869, allocations: 103.4 kB / 0.8285 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5871, allocations: 20.52 kB / 0.8285 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.5878, allocations: 0.5011 MB / 0.829 GB, free: 344 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.5881, allocations: 0.7609 MB / 0.8297 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.5882, allocations: 48.45 kB / 0.8298 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5882, allocations: 0 / 0.8298 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.005012/0.5933, allocations: 2.472 MB / 0.8322 GB, free: 15.38 MB / 0.5919 GB " [Timeout remaining time 659] 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: 9.269028558861464] Failed to read output from testmodel.py, exit status != 0: 0.6015749829821289 0.615346478 0.034052399000000004 Calling exit ...