Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.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.001387/0.001387, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001723/0.001723, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9598/0.9598, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.002244/0.002244, allocations: 245.5 kB / 261.3 MB, free: 12.66 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.7243/0.7243, allocations: 138.4 MB / 456.3 MB, free: 1.312 MB / 362.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.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5563 GB, free: 192 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.174e-05, allocations: 5.406 kB / 0.5564 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002575/0.002597, allocations: 1.438 MB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.004655, allocations: 1.205 MB / 0.5589 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.004723, allocations: 7.938 kB / 0.5589 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.004824, allocations: 11.91 kB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.006295, allocations: 0.6282 MB / 0.5596 GB, free: 12.87 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.42e-05/0.006319, allocations: 11.98 kB / 0.5596 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.006538, allocations: 167.5 kB / 0.5597 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.006581, allocations: 5.578 kB / 0.5597 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.00671, allocations: 91.84 kB / 0.5598 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.006859, allocations: 99.73 kB / 0.5599 GB, free: 12.5 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.006887, allocations: 8 kB / 0.5599 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.008274, allocations: 0.8188 MB / 0.5607 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.008408, allocations: 123.6 kB / 0.5608 GB, free: 11.55 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.008483, allocations: 59.67 kB / 0.5609 GB, free: 11.49 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.009596, allocations: 0.9585 MB / 0.5618 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.009599, allocations: 0 / 0.5618 GB, free: 10.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.0096, allocations: 4 kB / 0.5618 GB, free: 10.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.009605, allocations: 3.938 kB / 0.5619 GB, free: 10.52 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0007479/0.01035, allocations: 0.7181 MB / 0.5626 GB, free: 9.762 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.01039, allocations: 12.75 kB / 0.5626 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.01047, allocations: 48.59 kB / 0.5626 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.01068, allocations: 184.6 kB / 0.5628 GB, free: 9.492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.01069, allocations: 12.36 kB / 0.5628 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.01071, allocations: 8.359 kB / 0.5628 GB, free: 9.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.01103, allocations: 255.6 kB / 0.563 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.01104, allocations: 4.188 kB / 0.5631 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.01106, allocations: 8.375 kB / 0.5631 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.01123, allocations: 140.8 kB / 0.5632 GB, free: 9.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.01146, allocations: 193.6 kB / 0.5634 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.01353, allocations: 0.829 MB / 0.5642 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.01368, allocations: 132.7 kB / 0.5643 GB, free: 7.867 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.0138, allocations: 125.4 kB / 0.5644 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.871e-06/0.01381, allocations: 0 / 0.5644 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.01383, allocations: 37.39 kB / 0.5645 GB, free: 7.688 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 1.372e-06/0.01383, allocations: 0 / 0.5645 GB, free: 7.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.0006208/0.01445, allocations: 0.5287 MB / 0.565 GB, free: 7.137 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.0145, allocations: 89.05 kB / 0.5651 GB, free: 7.031 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.01466, allocations: 245.7 kB / 0.5653 GB, free: 6.773 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01467, allocations: 25.7 kB / 0.5653 GB, free: 6.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01481, allocations: 271.8 kB / 0.5656 GB, free: 6.469 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.01492, allocations: 150.7 kB / 0.5657 GB, free: 6.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.015, allocations: 67.27 kB / 0.5658 GB, free: 6.246 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.01517, allocations: 0.5196 MB / 0.5663 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.01528, allocations: 102.2 kB / 0.5664 GB, free: 5.609 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.01544, allocations: 175.1 kB / 0.5666 GB, free: 5.414 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.01576, allocations: 374.7 kB / 0.5669 GB, free: 5.016 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01577, allocations: 0 / 0.5669 GB, free: 5.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007079/0.01647, allocations: 444.7 kB / 0.5674 GB, free: 4.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.01651, allocations: 41.69 kB / 0.5674 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01652, allocations: 0 / 0.5674 GB, free: 4.516 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.01653, allocations: 7.938 kB / 0.5674 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.54e-05/0.01659, allocations: 8 kB / 0.5674 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01659, allocations: 8.188 kB / 0.5674 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.01665, allocations: 19.84 kB / 0.5674 GB, free: 4.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.01668, allocations: 19.98 kB / 0.5675 GB, free: 4.453 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (7): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 1 * 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.0001242/0.01681, allocations: 202.1 kB / 0.5676 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.007e-05/0.01686, allocations: 23.86 kB / 0.5677 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.01688, allocations: 18.94 kB / 0.5677 GB, free: 4.195 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.768e-05/0.01693, allocations: 31.83 kB / 0.5677 GB, free: 4.164 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01693, allocations: 4 kB / 0.5677 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01694, allocations: 3.984 kB / 0.5677 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.018, allocations: 276.9 kB / 0.568 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.01801, allocations: 8 kB / 0.568 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.01802, allocations: 0 / 0.568 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01802, allocations: 0 / 0.568 GB, free: 3.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.01804, allocations: 8 kB / 0.568 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01804, allocations: 0 / 0.568 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01804, allocations: 0 / 0.568 GB, free: 3.844 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005219/0.01856, allocations: 0.5475 MB / 0.5685 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.0186, allocations: 27.69 kB / 0.5686 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.01863, allocations: 4 kB / 0.5686 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.955e-05/0.0187, allocations: 0 / 0.5686 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.01873, allocations: 19.92 kB / 0.5686 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.01876, allocations: 16 kB / 0.5686 GB, free: 3.195 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.145e-05/0.01884, allocations: 160.2 kB / 0.5688 GB, free: 3.039 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01884, allocations: 0 / 0.5688 GB, free: 3.039 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006958/0.01953, allocations: 259.4 kB / 0.569 GB, free: 2.785 MB / 490.7 MB 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 (3): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 1 * 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.0005392/0.02007, allocations: 274.8 kB / 0.5693 GB, free: 2.508 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.02048, allocations: 355.3 kB / 0.5696 GB, free: 2.129 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.02048, allocations: 0 / 0.5696 GB, free: 2.129 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.02068, allocations: 224.7 kB / 0.5698 GB, free: 1.887 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.02095, allocations: 16.25 kB / 0.5698 GB, free: 1.871 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009446/0.02189, allocations: 0.6946 MB / 0.5705 GB, free: 1.141 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02201, allocations: 131.7 kB / 0.5706 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.577e-05/0.02209, allocations: 31.98 kB / 0.5707 GB, free: 0.957 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.02222, allocations: 90.2 kB / 0.5708 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02222, allocations: 3.938 kB / 0.5708 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of Templates: time 0.01188/0.03409, allocations: 4.553 MB / 0.5752 GB, free: 12.34 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces -abortSlowSimulation -alarm=510 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 510] [Calling sys.exit(0), Time elapsed: 41.74284274177626]