Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.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.001366/0.001366, allocations: 102.1 kB / 19.7 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.00166/0.00166, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002592/0.002592, allocations: 285 kB / 313.5 MB, free: 2.777 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.21/1.21, allocations: 180.6 MB / 0.5377 GB, free: 13.05 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.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces") [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.002914/0.002914, allocations: 111.3 kB / 0.7408 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1862, allocations: 95.39 MB / 0.834 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.002641/0.1888, allocations: 1.425 MB / 0.8354 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.191, allocations: 1.355 MB / 0.8367 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.191, allocations: 0 / 0.8367 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.673e-05/0.1911, allocations: 15.91 kB / 0.8367 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.1925, allocations: 0.6439 MB / 0.8373 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 2.393e-05/0.1925, allocations: 7.984 kB / 0.8373 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1927, allocations: 163.5 kB / 0.8375 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.1928, allocations: 5.578 kB / 0.8375 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.1929, allocations: 71.81 kB / 0.8376 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.1931, allocations: 103.7 kB / 0.8377 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.1931, allocations: 19.94 kB / 0.8377 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.1943, allocations: 0.8812 MB / 0.8385 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.1944, allocations: 119.6 kB / 0.8387 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1945, allocations: 126.8 kB / 0.8388 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.1955, allocations: 0.8449 MB / 0.8396 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1955, allocations: 0 / 0.8396 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1955, allocations: 0 / 0.8396 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1955, allocations: 0 / 0.8396 GB, free: 2.328 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0007969/0.1963, allocations: 0.6144 MB / 0.8402 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.1964, allocations: 8.75 kB / 0.8402 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.1965, allocations: 40.66 kB / 0.8402 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.1968, allocations: 199.2 kB / 0.8404 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1968, allocations: 4.375 kB / 0.8404 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1969, allocations: 12.36 kB / 0.8405 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.1977, allocations: 0.603 MB / 0.841 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1977, allocations: 0 / 0.841 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.1977, allocations: 7.984 kB / 0.8411 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/0.1979, allocations: 136.9 kB / 0.8412 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/0.1986, allocations: 0.4883 MB / 0.8417 GB, free: 152 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.2009, allocations: 0.9609 MB / 0.8426 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.2012, allocations: 242.4 kB / 0.8428 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.2015, allocations: 224.8 kB / 0.843 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.2015, allocations: 0 / 0.843 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2015, allocations: 38.55 kB / 0.8431 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 1.273e-06/0.2015, allocations: 0 / 0.8431 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.001154/0.2027, allocations: 0.8649 MB / 0.8439 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.2028, allocations: 81.11 kB / 0.844 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.2032, allocations: 397.6 kB / 0.8444 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.2032, allocations: 25.7 kB / 0.8444 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.2034, allocations: 192.7 kB / 0.8446 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.2035, allocations: 158.6 kB / 0.8447 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.2036, allocations: 49.69 kB / 0.8448 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.2037, allocations: 354.7 kB / 0.8451 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.204, allocations: 228.3 kB / 0.8453 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.2043, allocations: 270.8 kB / 0.8456 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.205, allocations: 0.6683 MB / 0.8463 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.205, allocations: 3.938 kB / 0.8463 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007793/0.2058, allocations: 0.6706 MB / 0.8469 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.2058, allocations: 43.56 kB / 0.847 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2058, allocations: 4 kB / 0.847 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2059, allocations: 0 / 0.847 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.2059, allocations: 11.94 kB / 0.847 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2059, allocations: 3.938 kB / 0.847 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.206, allocations: 47.64 kB / 0.847 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2061, allocations: 20 kB / 0.847 GB, free: 10.45 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (7): * Single equations (assignments): 5 * Array equations: 1 * 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.0002153/0.2063, allocations: 220 kB / 0.8472 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.2063, allocations: 35.77 kB / 0.8473 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.2064, allocations: 28.41 kB / 0.8473 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/0.2064, allocations: 27.97 kB / 0.8473 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2064, allocations: 8 kB / 0.8473 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2064, allocations: 0 / 0.8473 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.2075, allocations: 360.2 kB / 0.8477 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2075, allocations: 3.984 kB / 0.8477 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.263e-05/0.2075, allocations: 4 kB / 0.8477 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2075, allocations: 0 / 0.8477 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.2075, allocations: 8 kB / 0.8477 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2075, allocations: 0 / 0.8477 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2075, allocations: 0 / 0.8477 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008293/0.2083, allocations: 0.7326 MB / 0.8484 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.2084, allocations: 39.69 kB / 0.8485 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2085, allocations: 4 kB / 0.8485 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.2085, allocations: 4 kB / 0.8485 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.2086, allocations: 8 kB / 0.8485 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.2086, allocations: 12 kB / 0.8485 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003005/0.2089, allocations: 287.1 kB / 0.8488 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2089, allocations: 0 / 0.8488 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000644/0.2095, allocations: 251.5 kB / 0.849 GB, free: 8.355 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 (3): * Single equations (assignments): 1 * Array equations: 1 * 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.0004966/0.21, allocations: 246.8 kB / 0.8492 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007123/0.2107, allocations: 0.5656 MB / 0.8498 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2107, allocations: 0 / 0.8498 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.2111, allocations: 315.4 kB / 0.8501 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2114, allocations: 21.38 kB / 0.8501 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2126, allocations: 0.9321 MB / 0.851 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004943/0.2131, allocations: 0.8306 MB / 0.8518 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.2132, allocations: 27.44 kB / 0.8519 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2132, allocations: 4.25 kB / 0.8519 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of Templates: time 0.008723/0.2219, allocations: 5.351 MB / 0.8571 GB, free: 15.98 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.542834426043555] Failed to read output from testmodel.py, exit status != 0: 0.22939353296533227 0.24453669300000003 0.046031939 Calling exit ...