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.001313/0.001313, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001437/0.001437, allocations: 217.2 kB / 23.01 MB, free: 4.566 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.002512/0.002512, allocations: 286.7 kB / 313.5 MB, free: 2.828 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.234/1.234, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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.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.002891/0.002891, allocations: 113.1 kB / 0.7408 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2011, allocations: 95.38 MB / 0.834 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.002622/0.2037, allocations: 1.382 MB / 0.8353 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.2061, allocations: 1.398 MB / 0.8367 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.2062, allocations: 4 kB / 0.8367 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.2063, allocations: 15.84 kB / 0.8367 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.2078, allocations: 0.6477 MB / 0.8373 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 1.074e-05/0.2079, allocations: 0 / 0.8373 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.208, allocations: 99.66 kB / 0.8374 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.2081, allocations: 8.219 kB / 0.8374 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.2082, allocations: 63.75 kB / 0.8375 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2084, allocations: 67.78 kB / 0.8376 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.2084, allocations: 4 kB / 0.8376 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.2096, allocations: 0.8773 MB / 0.8384 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.2097, allocations: 59.77 kB / 0.8385 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.2098, allocations: 59.59 kB / 0.8385 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2108, allocations: 0.7207 MB / 0.8392 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2108, allocations: 0 / 0.8392 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2108, allocations: 3.938 kB / 0.8392 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.2108, allocations: 0 / 0.8392 GB, free: 2.719 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.0006974/0.2115, allocations: 455.2 kB / 0.8397 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.2116, allocations: 9.938 kB / 0.8397 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.2118, allocations: 32.78 kB / 0.8397 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2121, allocations: 142.3 kB / 0.8398 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2121, allocations: 8.359 kB / 0.8399 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.2121, allocations: 8.375 kB / 0.8399 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.2124, allocations: 214.7 kB / 0.8401 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2124, allocations: 4 kB / 0.8401 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.2125, allocations: 7.984 kB / 0.8401 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.311e-05/0.2125, allocations: 51.94 kB / 0.8401 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.2128, allocations: 140.2 kB / 0.8403 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008467/0.2136, allocations: 475.8 kB / 0.8407 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.2139, allocations: 78.59 kB / 0.8408 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.214, allocations: 56.75 kB / 0.8408 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.214, allocations: 4 kB / 0.8408 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.214, allocations: 30.56 kB / 0.8409 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.214, allocations: 0 / 0.8409 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0003798/0.2144, allocations: 189.4 kB / 0.8411 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.2144, allocations: 51.41 kB / 0.8411 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.2147, allocations: 246.6 kB / 0.8413 GB, free: 420 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.2147, allocations: 25.7 kB / 0.8414 GB, free: 388 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.2148, allocations: 132.2 kB / 0.8415 GB, free: 252 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.2148, allocations: 31.7 kB / 0.8415 GB, free: 220 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.2149, allocations: 29.7 kB / 0.8415 GB, free: 184 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.215, allocations: 330.8 kB / 0.8419 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.2151, allocations: 47.97 kB / 0.8419 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.2152, allocations: 71.67 kB / 0.842 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2154, allocations: 131.3 kB / 0.8421 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2154, allocations: 0 / 0.8421 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002634/0.2157, allocations: 169.4 kB / 0.8423 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2157, allocations: 4 kB / 0.8423 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2157, allocations: 0 / 0.8423 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2157, allocations: 8.094 kB / 0.8423 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.2158, allocations: 15.98 kB / 0.8423 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2158, allocations: 3.938 kB / 0.8423 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.2159, allocations: 19.84 kB / 0.8423 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.2159, allocations: 8 kB / 0.8423 GB, free: 15.35 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.0001236/0.2161, allocations: 137.7 kB / 0.8425 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.523e-05/0.2161, allocations: 15.91 kB / 0.8425 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.2164, allocations: 174.9 kB / 0.8426 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/0.2164, allocations: 8 kB / 0.8426 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2165, allocations: 3.938 kB / 0.8426 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2165, allocations: 0 / 0.8426 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.2168, allocations: 200.6 kB / 0.8428 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2168, allocations: 0 / 0.8428 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.2168, allocations: 12 kB / 0.8428 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2168, allocations: 0 / 0.8428 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2169, allocations: 4 kB / 0.8429 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2169, allocations: 3.984 kB / 0.8429 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2169, allocations: 3.938 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.2172, allocations: 255.4 kB / 0.8431 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.2172, allocations: 19.89 kB / 0.8431 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2173, allocations: 11.98 kB / 0.8431 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.2173, allocations: 0 / 0.8431 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.2174, allocations: 12.11 kB / 0.8431 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.2174, allocations: 8 kB / 0.8432 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001772/0.2176, allocations: 179.1 kB / 0.8433 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2176, allocations: 0 / 0.8433 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005581/0.2181, allocations: 219.6 kB / 0.8435 GB, free: 14.03 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.0005137/0.2186, allocations: 238.9 kB / 0.8438 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.2189, allocations: 131.9 kB / 0.8439 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.2189, allocations: 0 / 0.8439 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.219, allocations: 67.88 kB / 0.844 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.2193, allocations: 15.94 kB / 0.844 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/0.2199, allocations: 381.3 kB / 0.8443 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.2203, allocations: 0.7357 MB / 0.8451 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.2204, allocations: 23.42 kB / 0.8451 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.2204, allocations: 0 / 0.8451 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.006818/0.2272, allocations: 3.861 MB / 0.8488 GB, free: 8.527 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.482595936162397] Failed to read output from testmodel.py, exit status != 0: 0.23467683419585228 0.25079928900000004 0.036555435000000004 Calling exit ...