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.00133/0.00133, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001542/0.001542, allocations: 214.2 kB / 22.99 MB, free: 4.945 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.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.002698/0.002698, allocations: 292.2 kB / 313.5 MB, free: 2.574 MB / 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.235/1.235, allocations: 180.6 MB / 0.5377 GB, free: 14.5 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 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 109.7 kB / 0.7407 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1867, allocations: 95.39 MB / 0.8339 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.TetraederSurfaces): time 0.00289/0.1896, allocations: 1.317 MB / 0.8352 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1918, allocations: 1.024 MB / 0.8362 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.1919, allocations: 0 / 0.8362 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.192, allocations: 15.91 kB / 0.8362 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.1933, allocations: 499.6 kB / 0.8366 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.869e-05/0.1933, allocations: 4 kB / 0.8367 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1935, allocations: 99.77 kB / 0.8367 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1936, allocations: 8.172 kB / 0.8368 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.1937, allocations: 51.77 kB / 0.8368 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1938, allocations: 59.8 kB / 0.8369 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1938, allocations: 4 kB / 0.8369 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009424/0.1947, allocations: 0.6239 MB / 0.8375 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1949, allocations: 71.75 kB / 0.8375 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.507e-05/0.1949, allocations: 63.52 kB / 0.8376 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007199/0.1957, allocations: 0.5919 MB / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1957, allocations: 0 / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1957, allocations: 0 / 0.8382 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1957, allocations: 3.938 kB / 0.8382 GB, free: 3.301 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0006616/0.1963, allocations: 0.5058 MB / 0.8387 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1964, allocations: 8.75 kB / 0.8387 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.1964, allocations: 24.75 kB / 0.8387 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1967, allocations: 178.1 kB / 0.8389 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1967, allocations: 4.375 kB / 0.8389 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1967, allocations: 12.11 kB / 0.8389 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.1973, allocations: 334.2 kB / 0.8392 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1973, allocations: 3.938 kB / 0.8392 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1973, allocations: 4 kB / 0.8392 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.1974, allocations: 79.92 kB / 0.8393 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.1978, allocations: 274.1 kB / 0.8396 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.199, allocations: 0.5165 MB / 0.8401 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.1993, allocations: 176.5 kB / 0.8402 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.1995, allocations: 166.8 kB / 0.8404 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1995, allocations: 4 kB / 0.8404 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.1995, allocations: 38.5 kB / 0.8404 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.322e-06/0.1995, allocations: 3.938 kB / 0.8404 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008229/0.2004, allocations: 0.5709 MB / 0.841 GB, free: 256 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.2004, allocations: 85.11 kB / 0.8411 GB, free: 152 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.2007, allocations: 199.5 kB / 0.8413 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.2007, allocations: 29.7 kB / 0.8413 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2008, allocations: 144.8 kB / 0.8414 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2009, allocations: 118.9 kB / 0.8415 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.2009, allocations: 33.7 kB / 0.8416 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2011, allocations: 338.8 kB / 0.8419 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.2013, allocations: 157.6 kB / 0.842 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2015, allocations: 161.6 kB / 0.8422 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.2019, allocations: 389.4 kB / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2019, allocations: 0 / 0.8426 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000498/0.2024, allocations: 409.1 kB / 0.843 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.2025, allocations: 29.7 kB / 0.843 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2025, allocations: 4 kB / 0.843 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2025, allocations: 0 / 0.843 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.2025, allocations: 4 kB / 0.843 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2025, allocations: 3.984 kB / 0.843 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.2026, allocations: 19.78 kB / 0.843 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2026, allocations: 8 kB / 0.843 GB, free: 14.05 MB / 0.5919 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.0001773/0.2028, allocations: 184.1 kB / 0.8432 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.2028, allocations: 15.91 kB / 0.8432 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.2029, allocations: 18.64 kB / 0.8432 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-05/0.2029, allocations: 43.91 kB / 0.8433 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2029, allocations: 4 kB / 0.8433 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2029, allocations: 3.938 kB / 0.8433 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.2036, allocations: 221.1 kB / 0.8435 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2036, allocations: 3.984 kB / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.2036, allocations: 0 / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2036, allocations: 7.938 kB / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2036, allocations: 0 / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2036, allocations: 0 / 0.8435 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2036, allocations: 4 kB / 0.8435 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/0.2042, allocations: 0.5042 MB / 0.844 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.2042, allocations: 31.77 kB / 0.844 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.2043, allocations: 4 kB / 0.844 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2044, allocations: 0 / 0.844 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.2044, allocations: 7.984 kB / 0.844 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.2044, allocations: 12 kB / 0.8441 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001317/0.2046, allocations: 147.2 kB / 0.8442 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2046, allocations: 0 / 0.8442 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008396/0.2054, allocations: 187.5 kB / 0.8444 GB, free: 12.59 MB / 0.5919 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.0004413/0.2058, allocations: 206.9 kB / 0.8446 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.2064, allocations: 414.5 kB / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2064, allocations: 4 kB / 0.845 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.2066, allocations: 237 kB / 0.8452 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.2071, allocations: 13.39 kB / 0.8452 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000945/0.2081, allocations: 0.636 MB / 0.8458 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.2082, allocations: 164.8 kB / 0.846 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.2083, allocations: 23.42 kB / 0.846 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/0.2083, allocations: 0 / 0.846 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of Templates: time 0.006508/0.2148, allocations: 3.696 MB / 0.8496 GB, free: 7.117 MB / 0.5919 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: 9.55331862391904] Failed to read output from testmodel.py, exit status != 0: 0.22239992581307888 0.23847695100000002 0.039485906 Calling exit ...