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.001082/0.001082, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001718/0.001718, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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 0.8818/0.8818, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.001835/0.001835, allocations: 240.5 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.6823/0.6823, allocations: 138.4 MB / 455.2 MB, free: 1.488 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.117e-05, allocations: 6.25 kB / 0.5551 GB, free: 492 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001588/0.001609, allocations: 1.387 MB / 0.5565 GB, free: 15.08 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003264, allocations: 1.283 MB / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.003311, allocations: 0 / 0.5577 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.294e-05/0.003404, allocations: 15.86 kB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009687/0.004373, allocations: 0.6243 MB / 0.5583 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.586e-06/0.004381, allocations: 4 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.00449, allocations: 111.5 kB / 0.5585 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.363e-05/0.004524, allocations: 4.234 kB / 0.5585 GB, free: 13.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.004657, allocations: 63.84 kB / 0.5585 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.00476, allocations: 71.77 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.004778, allocations: 4 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006412/0.005419, allocations: 0.8148 MB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.005489, allocations: 63.81 kB / 0.5595 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.005527, allocations: 31.84 kB / 0.5595 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.006143, allocations: 0.8418 MB / 0.5603 GB, free: 11.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006146, allocations: 7.938 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006146, allocations: 0 / 0.5603 GB, free: 11.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.006151, allocations: 4 kB / 0.5603 GB, free: 11.13 MB / 490.7 MB 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.0004341/0.006585, allocations: 0.5263 MB / 0.5608 GB, free: 10.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.00662, allocations: 12.75 kB / 0.5608 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.006825, allocations: 40.81 kB / 0.5609 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.006962, allocations: 148.3 kB / 0.561 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.006976, allocations: 12.34 kB / 0.561 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.006988, allocations: 4.375 kB / 0.561 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.007132, allocations: 107.2 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.00714, allocations: 4.188 kB / 0.5611 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.007153, allocations: 8.359 kB / 0.5612 GB, free: 10.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.007215, allocations: 47.89 kB / 0.5612 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.007299, allocations: 72.08 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.007818, allocations: 459.8 kB / 0.5617 GB, free: 9.602 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.007964, allocations: 63.05 kB / 0.5618 GB, free: 9.527 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.561e-05/0.007999, allocations: 23.67 kB / 0.5618 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.008014, allocations: 4 kB / 0.5618 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.008035, allocations: 41.39 kB / 0.5618 GB, free: 9.445 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.008036, allocations: 0 / 0.5618 GB, free: 9.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002023/0.008238, allocations: 101.5 kB / 0.5619 GB, free: 9.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.008266, allocations: 51.41 kB / 0.562 GB, free: 9.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.008366, allocations: 212.8 kB / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.008377, allocations: 25.7 kB / 0.5622 GB, free: 9.023 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.008447, allocations: 183 kB / 0.5624 GB, free: 8.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.00847, allocations: 35.69 kB / 0.5624 GB, free: 8.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.983e-05/0.00851, allocations: 39.36 kB / 0.5625 GB, free: 8.758 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.008621, allocations: 0.4961 MB / 0.5629 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.00865, allocations: 16 kB / 0.563 GB, free: 8.234 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.008701, allocations: 66.66 kB / 0.563 GB, free: 8.152 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.842e-05/0.008779, allocations: 74.67 kB / 0.5631 GB, free: 8.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.008782, allocations: 0 / 0.5631 GB, free: 8.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001205/0.008902, allocations: 105.9 kB / 0.5632 GB, free: 7.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.008914, allocations: 11.94 kB / 0.5632 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.00892, allocations: 0 / 0.5632 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.008932, allocations: 0 / 0.5632 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.008988, allocations: 20.08 kB / 0.5632 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.008994, allocations: 0 / 0.5632 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/0.009024, allocations: 7.953 kB / 0.5632 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.00904, allocations: 11.94 kB / 0.5632 GB, free: 7.902 MB / 490.7 MB 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 6.673e-05/0.009106, allocations: 160.6 kB / 0.5634 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.009127, allocations: 15.88 kB / 0.5634 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.009278, allocations: 110.3 kB / 0.5635 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.009292, allocations: 4 kB / 0.5635 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.009295, allocations: 0 / 0.5635 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.009299, allocations: 7.984 kB / 0.5635 GB, free: 7.594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.009468, allocations: 188.5 kB / 0.5637 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.00947, allocations: 0 / 0.5637 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.009507, allocations: 12 kB / 0.5637 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.009509, allocations: 0 / 0.5637 GB, free: 7.363 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.009519, allocations: 7.969 kB / 0.5637 GB, free: 7.355 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009521, allocations: 4.125 kB / 0.5637 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.009522, allocations: 4 kB / 0.5637 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.009877, allocations: 251.7 kB / 0.564 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.00989, allocations: 11.95 kB / 0.564 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.009904, allocations: 0 / 0.564 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.645e-05/0.00994, allocations: 4 kB / 0.564 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.00996, allocations: 7.984 kB / 0.564 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.00997, allocations: 8 kB / 0.564 GB, free: 7.051 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.01002, allocations: 155.1 kB / 0.5641 GB, free: 6.898 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01002, allocations: 0 / 0.5641 GB, free: 6.898 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.01034, allocations: 227.5 kB / 0.5644 GB, free: 6.676 MB / 490.7 MB 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.0003579/0.0107, allocations: 274.8 kB / 0.5646 GB, free: 6.395 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.01084, allocations: 75.89 kB / 0.5647 GB, free: 6.316 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01084, allocations: 4.062 kB / 0.5647 GB, free: 6.312 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.706e-05/0.01089, allocations: 59.58 kB / 0.5648 GB, free: 6.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.01105, allocations: 9.016 kB / 0.5648 GB, free: 6.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/0.01141, allocations: 298.7 kB / 0.5651 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.813e-05/0.01145, allocations: 87.17 kB / 0.5651 GB, free: 5.816 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.01152, allocations: 36.62 kB / 0.5652 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.01155, allocations: 16.5 kB / 0.5652 GB, free: 5.762 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01155, allocations: 0 / 0.5652 GB, free: 5.762 MB / 490.7 MB Notification: Performance of Templates: time 0.005186/0.01674, allocations: 3.891 MB / 0.569 GB, free: 1.918 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.546277906745672]