Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.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.001388/0.001388, 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.001892/0.001892, allocations: 216 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002694/0.002694, allocations: 290.2 kB / 313.5 MB, free: 2.699 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.333/1.333, allocations: 180.6 MB / 0.5377 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 178] 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.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") [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.003086/0.003086, allocations: 99.72 kB / 0.7407 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1829, allocations: 95.39 MB / 0.8339 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002878/0.1858, allocations: 1.353 MB / 0.8352 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1883, allocations: 1.254 MB / 0.8364 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.1883, allocations: 4 kB / 0.8364 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1884, allocations: 11.91 kB / 0.8364 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1901, allocations: 0.6087 MB / 0.837 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.371e-05/0.1901, allocations: 3.984 kB / 0.837 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1903, allocations: 103.7 kB / 0.8371 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.1903, allocations: 8.234 kB / 0.8371 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1905, allocations: 59.75 kB / 0.8372 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.1907, allocations: 71.66 kB / 0.8373 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.1907, allocations: 4 kB / 0.8373 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.192, allocations: 0.8149 MB / 0.8381 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1921, allocations: 59.81 kB / 0.8381 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.1921, allocations: 47.61 kB / 0.8382 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1933, allocations: 0.7169 MB / 0.8389 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1933, allocations: 0 / 0.8389 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1933, allocations: 0 / 0.8389 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1933, allocations: 0 / 0.8389 GB, free: 2.691 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007957/0.1941, allocations: 456.5 kB / 0.8393 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1942, allocations: 9.344 kB / 0.8393 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.1944, allocations: 32.78 kB / 0.8393 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1947, allocations: 146.3 kB / 0.8395 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1947, allocations: 4.375 kB / 0.8395 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.1947, allocations: 8.359 kB / 0.8395 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.1951, allocations: 215.8 kB / 0.8397 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1951, allocations: 0 / 0.8397 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1951, allocations: 0 / 0.8397 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.53e-05/0.1952, allocations: 51.95 kB / 0.8397 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1954, allocations: 140.2 kB / 0.8399 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.1962, allocations: 404.5 kB / 0.8403 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1964, allocations: 82.52 kB / 0.8403 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.819e-05/0.1965, allocations: 48.83 kB / 0.8404 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1965, allocations: 0 / 0.8404 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1966, allocations: 34.56 kB / 0.8404 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.113e-06/0.1966, allocations: 0 / 0.8404 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003791/0.1969, allocations: 185.5 kB / 0.8406 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.197, allocations: 55.41 kB / 0.8407 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1972, allocations: 161.1 kB / 0.8408 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.1972, allocations: 29.7 kB / 0.8408 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.1973, allocations: 136.2 kB / 0.841 GB, free: 400 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.1974, allocations: 31.73 kB / 0.841 GB, free: 368 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.1974, allocations: 29.7 kB / 0.841 GB, free: 332 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1976, allocations: 323.1 kB / 0.8413 GB, free: 0 / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1977, allocations: 39.97 kB / 0.8414 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1978, allocations: 83.2 kB / 0.8414 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.198, allocations: 135.3 kB / 0.8416 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.198, allocations: 0 / 0.8416 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002537/0.1983, allocations: 153.5 kB / 0.8417 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1983, allocations: 4 kB / 0.8417 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1983, allocations: 4 kB / 0.8417 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1983, allocations: 0 / 0.8417 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.35e-05/0.1984, allocations: 19.92 kB / 0.8417 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1984, allocations: 3.938 kB / 0.8418 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.1985, allocations: 12.05 kB / 0.8418 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1985, allocations: 15.98 kB / 0.8418 GB, free: 15.51 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001298/0.1986, allocations: 129.8 kB / 0.8419 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.1986, allocations: 11.94 kB / 0.8419 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.199, allocations: 158.3 kB / 0.8421 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.199, allocations: 7.984 kB / 0.8421 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.199, allocations: 7.938 kB / 0.8421 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.199, allocations: 0 / 0.8421 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1993, allocations: 169.2 kB / 0.8422 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1993, allocations: 4.125 kB / 0.8422 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.921e-05/0.1993, allocations: 19.92 kB / 0.8423 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1993, allocations: 4 kB / 0.8423 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1994, allocations: 3.984 kB / 0.8423 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1994, allocations: 0 / 0.8423 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1994, allocations: 0 / 0.8423 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.1997, allocations: 251.5 kB / 0.8425 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.1997, allocations: 15.84 kB / 0.8425 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1997, allocations: 4.094 kB / 0.8425 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.1998, allocations: 7.938 kB / 0.8425 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1998, allocations: 11.92 kB / 0.8426 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.1999, allocations: 8 kB / 0.8426 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001103/0.2, allocations: 119.2 kB / 0.8427 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2, allocations: 0 / 0.8427 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006345/0.2006, allocations: 215.6 kB / 0.8429 GB, free: 14.32 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 (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0005279/0.2011, allocations: 244.8 kB / 0.8431 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.2014, allocations: 127.8 kB / 0.8432 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2014, allocations: 3.938 kB / 0.8432 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.2015, allocations: 75.92 kB / 0.8433 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.2017, allocations: 8.297 kB / 0.8433 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.2024, allocations: 368.2 kB / 0.8437 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2025, allocations: 130.7 kB / 0.8438 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.2026, allocations: 19.42 kB / 0.8438 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.2026, allocations: 0 / 0.8438 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.006772/0.2094, allocations: 3.681 MB / 0.8474 GB, free: 9.617 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.838897306006402] Failed to read output from testmodel.py, exit status != 0: 0.21722338674589992 0.23294468699999996 0.036580147 Calling exit ...