Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.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.001037/0.001037, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001734/0.001734, allocations: 173 kB / 23.49 MB, free: 1.055 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.9814/0.9814, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.002291/0.002291, allocations: 233.9 kB / 260.5 MB, free: 12.9 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.7038/0.7038, allocations: 138.4 MB / 455.4 MB, free: 1.543 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.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.555 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.537e-05, allocations: 12.84 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002455/0.00248, allocations: 1.356 MB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.004297, allocations: 1.034 MB / 0.5574 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.921e-05/0.004366, allocations: 7.938 kB / 0.5574 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.004474, allocations: 7.922 kB / 0.5574 GB, free: 14.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001335/0.005809, allocations: 0.4958 MB / 0.5579 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.322e-05/0.005833, allocations: 11.97 kB / 0.5579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.00601, allocations: 107.6 kB / 0.558 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.006058, allocations: 4.188 kB / 0.558 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.006162, allocations: 55.88 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.006281, allocations: 55.84 kB / 0.5581 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.006305, allocations: 4 kB / 0.5581 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009311/0.007236, allocations: 0.6354 MB / 0.5587 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.007343, allocations: 75.77 kB / 0.5588 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.007402, allocations: 31.86 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.008044, allocations: 0.6897 MB / 0.5595 GB, free: 12.31 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.008047, allocations: 0 / 0.5595 GB, free: 12.31 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008048, allocations: 8 kB / 0.5595 GB, free: 12.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.008054, allocations: 0 / 0.5595 GB, free: 12.3 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000497/0.008551, allocations: 0.6019 MB / 0.5601 GB, free: 11.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.00859, allocations: 8.75 kB / 0.5601 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.517e-05/0.008646, allocations: 32.69 kB / 0.5601 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.008817, allocations: 176.1 kB / 0.5603 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.008827, allocations: 4.375 kB / 0.5603 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.008839, allocations: 8.359 kB / 0.5603 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.009015, allocations: 154.8 kB / 0.5604 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.009023, allocations: 3.938 kB / 0.5604 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.009034, allocations: 0 / 0.5604 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/0.00912, allocations: 91.91 kB / 0.5605 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.025e-05/0.00921, allocations: 110.7 kB / 0.5606 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.01011, allocations: 0.6134 MB / 0.5612 GB, free: 10.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.971e-05/0.0102, allocations: 92.97 kB / 0.5613 GB, free: 10.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.01026, allocations: 73.7 kB / 0.5614 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.01027, allocations: 0 / 0.5614 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.01029, allocations: 41.33 kB / 0.5614 GB, free: 10.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 1.012e-06/0.01029, allocations: 0 / 0.5614 GB, free: 10.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003199/0.01061, allocations: 317.2 kB / 0.5617 GB, free: 9.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.01064, allocations: 77.11 kB / 0.5618 GB, free: 9.715 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.01077, allocations: 238.7 kB / 0.562 GB, free: 9.465 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.01078, allocations: 29.7 kB / 0.5621 GB, free: 9.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.01086, allocations: 187.6 kB / 0.5622 GB, free: 9.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.01092, allocations: 119 kB / 0.5624 GB, free: 9.125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.01097, allocations: 47.36 kB / 0.5624 GB, free: 9.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.01108, allocations: 0.5196 MB / 0.5629 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.01114, allocations: 57.69 kB / 0.563 GB, free: 8.477 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.01118, allocations: 69.62 kB / 0.563 GB, free: 8.402 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.01131, allocations: 169.1 kB / 0.5632 GB, free: 8.219 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01131, allocations: 0 / 0.5632 GB, free: 8.219 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001806/0.01149, allocations: 233.9 kB / 0.5634 GB, free: 7.973 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.01152, allocations: 40.52 kB / 0.5635 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.01152, allocations: 144 / 0.5635 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01153, allocations: 0 / 0.5635 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.56e-05/0.01158, allocations: 7.969 kB / 0.5635 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01158, allocations: 0 / 0.5635 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.328e-05/0.01161, allocations: 15.83 kB / 0.5635 GB, free: 7.906 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.01163, allocations: 12 kB / 0.5635 GB, free: 7.895 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 1 * Array equations: 2 * 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 8.178e-05/0.01171, allocations: 186.2 kB / 0.5637 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.01173, allocations: 19.86 kB / 0.5637 GB, free: 7.676 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.01176, allocations: 22.64 kB / 0.5637 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/0.01179, allocations: 39.97 kB / 0.5637 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.0118, allocations: 0 / 0.5637 GB, free: 7.609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.0118, allocations: 3.938 kB / 0.5638 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.01222, allocations: 264.4 kB / 0.564 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.01223, allocations: 0 / 0.564 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.01224, allocations: 7.984 kB / 0.564 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01224, allocations: 0 / 0.564 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.01225, allocations: 4 kB / 0.564 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01225, allocations: 0 / 0.564 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.01225, allocations: 0 / 0.564 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.0125, allocations: 401 kB / 0.5644 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.01252, allocations: 27.78 kB / 0.5644 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.01253, allocations: 4 kB / 0.5644 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.01257, allocations: 7.938 kB / 0.5644 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.01259, allocations: 4 kB / 0.5644 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.01261, allocations: 11.98 kB / 0.5645 GB, free: 6.824 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.83e-05/0.01267, allocations: 167.4 kB / 0.5646 GB, free: 6.66 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01267, allocations: 0 / 0.5646 GB, free: 6.66 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000294/0.01297, allocations: 179.6 kB / 0.5648 GB, free: 6.484 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 (4): * Single equations (assignments): 1 * Array equations: 2 * 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.0003178/0.01329, allocations: 238.9 kB / 0.565 GB, free: 6.242 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002212/0.01351, allocations: 238.4 kB / 0.5652 GB, free: 5.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01351, allocations: 0 / 0.5652 GB, free: 5.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.0136, allocations: 168.7 kB / 0.5654 GB, free: 5.793 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01378, allocations: 11.94 kB / 0.5654 GB, free: 5.781 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.01426, allocations: 477 kB / 0.5659 GB, free: 5.277 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.015e-05/0.01432, allocations: 100 kB / 0.566 GB, free: 5.156 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.049e-05/0.01437, allocations: 23.98 kB / 0.566 GB, free: 5.133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.01441, allocations: 16.5 kB / 0.566 GB, free: 5.117 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01441, allocations: 8 kB / 0.566 GB, free: 5.109 MB / 490.7 MB Notification: Performance of Templates: time 0.00477/0.01918, allocations: 3.329 MB / 0.5693 GB, free: 1.793 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 19.996218407992274]