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.001855/0.001855, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.002412/0.002412, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.156 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.002503/0.002503, allocations: 244.4 kB / 259.4 MB, free: 452 kB / 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.081/1.081, allocations: 138.4 MB / 454.3 MB, free: 2.016 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.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.252e-06/1.252e-06, allocations: 0 / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.198e-05, allocations: 5.375 kB / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.002236/0.002258, allocations: 1.341 MB / 0.6481 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.003958, allocations: 1.012 MB / 0.6491 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.003987, allocations: 0 / 0.6491 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.173e-05/0.004049, allocations: 11.92 kB / 0.6491 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.005149, allocations: 0.5036 MB / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 1.083e-05/0.00516, allocations: 0 / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.005301, allocations: 103.6 kB / 0.6497 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.946e-05/0.00533, allocations: 8.172 kB / 0.6497 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.823e-05/0.005408, allocations: 51.88 kB / 0.6497 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.901e-05/0.005497, allocations: 59.84 kB / 0.6498 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.005521, allocations: 12 kB / 0.6498 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008756/0.006396, allocations: 0.6199 MB / 0.6504 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.006498, allocations: 79.7 kB / 0.6505 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.006561, allocations: 31.86 kB / 0.6505 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009531/0.007514, allocations: 0.6936 MB / 0.6512 GB, free: 488 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.007521, allocations: 0 / 0.6512 GB, free: 488 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007522, allocations: 0 / 0.6512 GB, free: 488 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.007529, allocations: 0 / 0.6512 GB, free: 488 kB / 0.5606 GB 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.2556/0.2632, allocations: 498.7 kB / 0.6517 GB, free: 57.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2632, allocations: 10.5 kB / 0.6517 GB, free: 57.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.2633, allocations: 24.28 kB / 0.6517 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2635, allocations: 175.6 kB / 0.6519 GB, free: 57.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.2635, allocations: 7.781 kB / 0.6519 GB, free: 57.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2635, allocations: 5.875 kB / 0.6519 GB, free: 57.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/0.2639, allocations: 340.9 kB / 0.6522 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.2639, allocations: 0 / 0.6522 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2639, allocations: 2.844 kB / 0.6522 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.264, allocations: 84.11 kB / 0.6523 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2643, allocations: 282.8 kB / 0.6526 GB, free: 57.03 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2654, allocations: 0.5547 MB / 0.6531 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2656, allocations: 183.3 kB / 0.6533 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2657, allocations: 175.5 kB / 0.6534 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.2657, allocations: 1.625 kB / 0.6534 GB, free: 56.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.045e-05/0.2657, allocations: 31.75 kB / 0.6535 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.482e-06/0.2657, allocations: 0 / 0.6535 GB, free: 56.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.0005982/0.2663, allocations: 0.5817 MB / 0.654 GB, free: 56.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.2663, allocations: 77.11 kB / 0.6541 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2665, allocations: 204.9 kB / 0.6543 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2665, allocations: 29.06 kB / 0.6543 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2665, allocations: 143.9 kB / 0.6545 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.2666, allocations: 109.6 kB / 0.6546 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.2666, allocations: 40.69 kB / 0.6546 GB, free: 56.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.2667, allocations: 335.7 kB / 0.6549 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.2668, allocations: 162.8 kB / 0.6551 GB, free: 55.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2669, allocations: 158.4 kB / 0.6552 GB, free: 55.75 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.2672, allocations: 380.5 kB / 0.6556 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2672, allocations: 2.734 kB / 0.6556 GB, free: 55.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003167/0.2675, allocations: 416.9 kB / 0.656 GB, free: 55.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2675, allocations: 32.52 kB / 0.656 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2675, allocations: 0 / 0.656 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2675, allocations: 0 / 0.656 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.2676, allocations: 3.281 kB / 0.656 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.2676, allocations: 0 / 0.656 GB, free: 55.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.2676, allocations: 20.33 kB / 0.6561 GB, free: 55.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.2676, allocations: 13.19 kB / 0.6561 GB, free: 55.44 MB / 0.5606 GB 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 0.0001033/0.2677, allocations: 182.9 kB / 0.6563 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.2678, allocations: 18.53 kB / 0.6563 GB, free: 55.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.2678, allocations: 13.84 kB / 0.6563 GB, free: 55.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.085e-05/0.2678, allocations: 43.06 kB / 0.6563 GB, free: 55.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2678, allocations: 0 / 0.6563 GB, free: 55.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2678, allocations: 0.6562 kB / 0.6563 GB, free: 55.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005565/0.2684, allocations: 252.5 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2684, allocations: 0.5312 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.197e-05/0.2684, allocations: 0.75 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2684, allocations: 4.5 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.2684, allocations: 11.14 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2684, allocations: 0.6875 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2684, allocations: 4.406 kB / 0.6566 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.2688, allocations: 0.4936 MB / 0.6571 GB, free: 54.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.2688, allocations: 33.73 kB / 0.6571 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.2688, allocations: 4.75 kB / 0.6571 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.2689, allocations: 3.812 kB / 0.6571 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.2689, allocations: 6.281 kB / 0.6571 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2689, allocations: 10.44 kB / 0.6571 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.172e-05/0.269, allocations: 149.1 kB / 0.6573 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.269, allocations: 1.25 kB / 0.6573 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004358/0.2694, allocations: 182.3 kB / 0.6574 GB, free: 54.73 MB / 0.5606 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 (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.0003785/0.2698, allocations: 228.5 kB / 0.6577 GB, free: 54.63 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.2701, allocations: 417.9 kB / 0.6581 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2701, allocations: 0 / 0.6581 GB, free: 54.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2703, allocations: 240 kB / 0.6583 GB, free: 54.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.2705, allocations: 8.406 kB / 0.6583 GB, free: 54.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005568/0.2711, allocations: 0.6049 MB / 0.6589 GB, free: 54.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.2712, allocations: 177 kB / 0.6591 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.2712, allocations: 34.66 kB / 0.6591 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.2713, allocations: 14.5 kB / 0.6591 GB, free: 53.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2713, allocations: 0 / 0.6591 GB, free: 53.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.005518/0.2768, allocations: 3.263 MB / 0.6623 GB, free: 53.83 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 30.90588080883026] Failed to read output from testmodel.py, exit status != 0: 0.28426384553313255 0.294456545 0.284394392 Calling exit ...