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.001332/0.001332, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009403/0.0009403, allocations: 173 kB / 23.49 MB, free: 1.055 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.9837/0.9837, allocations: 177.1 MB / 203.8 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.001782/0.001782, allocations: 241 kB / 260.5 MB, free: 12.88 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.7196/0.7196, allocations: 138.4 MB / 455.4 MB, free: 1.555 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.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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.802e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces): time 0.001681/0.001709, allocations: 1.423 MB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.00319, allocations: 1.229 MB / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.003253, allocations: 0 / 0.5576 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.428e-05/0.003347, allocations: 23.78 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.004471, allocations: 0.6282 MB / 0.5583 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.981e-05/0.004491, allocations: 7.984 kB / 0.5583 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.004669, allocations: 167.5 kB / 0.5584 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.00471, allocations: 5.594 kB / 0.5584 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.053e-05/0.004801, allocations: 95.81 kB / 0.5585 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.004917, allocations: 99.73 kB / 0.5586 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.004945, allocations: 8 kB / 0.5586 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007926/0.005737, allocations: 0.8226 MB / 0.5594 GB, free: 12.37 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.005858, allocations: 115.6 kB / 0.5595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.05e-05/0.005939, allocations: 71.64 kB / 0.5596 GB, free: 12.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.006862, allocations: 0.9507 MB / 0.5605 GB, free: 11.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.006866, allocations: 4 kB / 0.5605 GB, free: 11.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.006867, allocations: 0 / 0.5605 GB, free: 11.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.006874, allocations: 0 / 0.5605 GB, free: 11.23 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.0006474/0.007521, allocations: 0.7143 MB / 0.5612 GB, free: 10.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.00756, allocations: 12.75 kB / 0.5612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.007633, allocations: 48.59 kB / 0.5613 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.007819, allocations: 193.3 kB / 0.5615 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.007831, allocations: 4.375 kB / 0.5615 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.007849, allocations: 12.3 kB / 0.5615 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.008172, allocations: 342.3 kB / 0.5618 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.008178, allocations: 4.125 kB / 0.5618 GB, free: 9.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.008193, allocations: 4.359 kB / 0.5618 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.008316, allocations: 140.8 kB / 0.562 GB, free: 9.688 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.008536, allocations: 268.2 kB / 0.5622 GB, free: 9.422 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.01005, allocations: 0.8949 MB / 0.5631 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.01019, allocations: 180.7 kB / 0.5633 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.01032, allocations: 169.4 kB / 0.5634 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.01032, allocations: 0 / 0.5634 GB, free: 8.121 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.01034, allocations: 33.39 kB / 0.5635 GB, free: 8.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 1.182e-06/0.01035, allocations: 4 kB / 0.5635 GB, free: 8.074 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005517/0.0109, allocations: 0.6731 MB / 0.5641 GB, free: 7.379 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.01094, allocations: 85.09 kB / 0.5642 GB, free: 7.277 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.01107, allocations: 245.7 kB / 0.5644 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.01108, allocations: 25.7 kB / 0.5645 GB, free: 6.988 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.01119, allocations: 267.9 kB / 0.5647 GB, free: 6.719 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.01126, allocations: 150.7 kB / 0.5649 GB, free: 6.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.01132, allocations: 67.3 kB / 0.5649 GB, free: 6.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.01146, allocations: 0.5118 MB / 0.5654 GB, free: 5.973 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.01158, allocations: 154.1 kB / 0.5656 GB, free: 5.816 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.01172, allocations: 223.1 kB / 0.5658 GB, free: 5.574 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.012, allocations: 462.7 kB / 0.5662 GB, free: 5.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.012, allocations: 4 kB / 0.5662 GB, free: 5.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003795/0.01238, allocations: 0.5319 MB / 0.5667 GB, free: 4.535 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.01242, allocations: 45.62 kB / 0.5668 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01243, allocations: 128 / 0.5668 GB, free: 4.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01244, allocations: 8 kB / 0.5668 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.793e-05/0.0125, allocations: 11.94 kB / 0.5668 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.0125, allocations: 3.984 kB / 0.5668 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.01254, allocations: 19.84 kB / 0.5668 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.01257, allocations: 16 kB / 0.5668 GB, free: 4.426 MB / 490.7 MB 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 9.872e-05/0.01267, allocations: 198.2 kB / 0.567 GB, free: 4.215 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.0127, allocations: 23.86 kB / 0.5671 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.01273, allocations: 18.94 kB / 0.5671 GB, free: 4.172 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/0.01276, allocations: 31.88 kB / 0.5671 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01276, allocations: 3.938 kB / 0.5671 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01276, allocations: 4 kB / 0.5671 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006963/0.01346, allocations: 336.3 kB / 0.5674 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01346, allocations: 0 / 0.5674 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.01348, allocations: 3.984 kB / 0.5674 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01348, allocations: 0 / 0.5674 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.0135, allocations: 4 kB / 0.5674 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.0135, allocations: 7.938 kB / 0.5674 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0135, allocations: 3.938 kB / 0.5675 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.01393, allocations: 0.6336 MB / 0.5681 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.01395, allocations: 31.69 kB / 0.5681 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.01397, allocations: 0 / 0.5681 GB, free: 3.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.01401, allocations: 15.92 kB / 0.5681 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.01404, allocations: 4 kB / 0.5681 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01405, allocations: 12 kB / 0.5681 GB, free: 3.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.01412, allocations: 164.2 kB / 0.5683 GB, free: 2.859 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01412, allocations: 0 / 0.5683 GB, free: 2.859 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.01461, allocations: 267.4 kB / 0.5685 GB, free: 2.598 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 (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.0003916/0.015, allocations: 266.8 kB / 0.5688 GB, free: 2.328 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.01538, allocations: 455.5 kB / 0.5692 GB, free: 1.852 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01538, allocations: 4 kB / 0.5692 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.01554, allocations: 276.6 kB / 0.5695 GB, free: 1.555 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.01573, allocations: 12 kB / 0.5695 GB, free: 1.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007584/0.01649, allocations: 0.7468 MB / 0.5702 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.01657, allocations: 127.8 kB / 0.5704 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.01663, allocations: 35.97 kB / 0.5704 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.01667, allocations: 16.5 kB / 0.5704 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01667, allocations: 0 / 0.5704 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of Templates: time 0.006326/0.023, allocations: 4.137 MB / 0.5745 GB, free: 12.46 MB / 0.4948 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=510 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.RectangularCuboidSurfaces.pipe 2>&1) [Timeout 510] [Calling sys.exit(0), Time elapsed: 252.4223784939386]