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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7992/0.7992, allocations: 143.4 MB / 159.2 MB, free: 4.836 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 188.5 kB / 191.9 MB, free: 5.699 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 110.8 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001845, allocations: 285.5 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 79.88 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2827, allocations: 81.3 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface): time 0.001966/0.2847, allocations: 1.418 MB / 0.7693 GB, free: 26.26 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.2862, allocations: 1.414 MB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.2863, allocations: 0 / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.247e-05/0.2864, allocations: 11.92 kB / 0.7707 GB, free: 24.83 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.2871, allocations: 383.6 kB / 0.7711 GB, free: 24.46 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.056e-05/0.2871, allocations: 0 / 0.7711 GB, free: 24.46 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2872, allocations: 163.6 kB / 0.7712 GB, free: 24.3 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.2873, allocations: 8.172 kB / 0.7712 GB, free: 24.29 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.2874, allocations: 43.91 kB / 0.7713 GB, free: 24.25 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.2875, allocations: 67.67 kB / 0.7713 GB, free: 24.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2876, allocations: 8 kB / 0.7714 GB, free: 24.17 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006728/0.2882, allocations: 0.6512 MB / 0.772 GB, free: 23.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.2883, allocations: 51.88 kB / 0.772 GB, free: 23.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.2884, allocations: 55.55 kB / 0.7721 GB, free: 23.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.289, allocations: 0.6535 MB / 0.7727 GB, free: 22.76 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.289, allocations: 0 / 0.7727 GB, free: 22.76 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.289, allocations: 4 kB / 0.7727 GB, free: 22.76 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.289, allocations: 0 / 0.7727 GB, free: 22.76 MB / 458.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.000504/0.2895, allocations: 0.495 MB / 0.7732 GB, free: 22.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2895, allocations: 12.03 kB / 0.7732 GB, free: 22.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.2896, allocations: 16.66 kB / 0.7732 GB, free: 22.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.2898, allocations: 208.1 kB / 0.7734 GB, free: 21.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2898, allocations: 8.375 kB / 0.7734 GB, free: 21.94 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2898, allocations: 8.359 kB / 0.7735 GB, free: 21.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2901, allocations: 209.4 kB / 0.7737 GB, free: 21.72 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2901, allocations: 0 / 0.7737 GB, free: 21.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.2901, allocations: 0 / 0.7737 GB, free: 21.72 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/0.2902, allocations: 47.95 kB / 0.7737 GB, free: 21.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.2904, allocations: 144.2 kB / 0.7738 GB, free: 21.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006413/0.291, allocations: 0.5003 MB / 0.7743 GB, free: 20.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.2912, allocations: 82.59 kB / 0.7744 GB, free: 20.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.684e-05/0.2913, allocations: 60.75 kB / 0.7745 GB, free: 20.83 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2913, allocations: 7.984 kB / 0.7745 GB, free: 20.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.322e-05/0.2913, allocations: 30.56 kB / 0.7745 GB, free: 20.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2913, allocations: 0 / 0.7745 GB, free: 20.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002926/0.2916, allocations: 177.3 kB / 0.7747 GB, free: 20.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2917, allocations: 63.39 kB / 0.7747 GB, free: 20.53 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.2918, allocations: 238.7 kB / 0.775 GB, free: 20.29 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.2918, allocations: 25.7 kB / 0.775 GB, free: 20.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.2919, allocations: 132.1 kB / 0.7751 GB, free: 20.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.2919, allocations: 35.81 kB / 0.7751 GB, free: 20.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.292, allocations: 29.7 kB / 0.7752 GB, free: 20.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.061e-05/0.292, allocations: 326.8 kB / 0.7755 GB, free: 19.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.2921, allocations: 47.89 kB / 0.7755 GB, free: 19.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.2922, allocations: 75.33 kB / 0.7756 GB, free: 19.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.2923, allocations: 135.3 kB / 0.7757 GB, free: 19.45 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2923, allocations: 0 / 0.7757 GB, free: 19.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001765/0.2925, allocations: 161.4 kB / 0.7759 GB, free: 19.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2925, allocations: 5.406 kB / 0.7759 GB, free: 19.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2925, allocations: 0 / 0.7759 GB, free: 19.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2925, allocations: 8.031 kB / 0.7759 GB, free: 19.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.2926, allocations: 19.98 kB / 0.7759 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.2926, allocations: 3.938 kB / 0.7759 GB, free: 19.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.855e-05/0.2927, allocations: 19.75 kB / 0.7759 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.2927, allocations: 8 kB / 0.7759 GB, free: 19.22 MB / 458.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.854e-05/0.2928, allocations: 129.8 kB / 0.7761 GB, free: 19.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.2928, allocations: 15.81 kB / 0.7761 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.2931, allocations: 174.9 kB / 0.7763 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.2931, allocations: 8 kB / 0.7763 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2931, allocations: 7.922 kB / 0.7763 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2931, allocations: 0 / 0.7763 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.2933, allocations: 229.5 kB / 0.7765 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2933, allocations: 0 / 0.7765 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.2934, allocations: 15.98 kB / 0.7765 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2934, allocations: 0 / 0.7765 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2934, allocations: 0 / 0.7765 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2934, allocations: 4 kB / 0.7765 GB, free: 18.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2934, allocations: 4.125 kB / 0.7765 GB, free: 18.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.2938, allocations: 0.8954 MB / 0.7774 GB, free: 17.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.2938, allocations: 92.86 kB / 0.7775 GB, free: 17.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.2939, allocations: 8 kB / 0.7775 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.663e-05/0.2939, allocations: 0 / 0.7775 GB, free: 17.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.294, allocations: 11.98 kB / 0.7775 GB, free: 17.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.294, allocations: 8 kB / 0.7775 GB, free: 17.49 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.2941, allocations: 176.6 kB / 0.7777 GB, free: 17.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2941, allocations: 0 / 0.7777 GB, free: 17.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005568/0.2947, allocations: 208 kB / 0.7779 GB, free: 17.12 MB / 458.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.000421/0.2951, allocations: 243.7 kB / 0.7781 GB, free: 16.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.2953, allocations: 131.8 kB / 0.7782 GB, free: 16.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.2953, allocations: 0 / 0.7782 GB, free: 16.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.022e-05/0.2954, allocations: 76.06 kB / 0.7783 GB, free: 16.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.2957, allocations: 20.81 kB / 0.7783 GB, free: 16.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.2962, allocations: 0.5189 MB / 0.7788 GB, free: 16.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.2964, allocations: 0.7399 MB / 0.7795 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.2966, allocations: 33.08 kB / 0.7796 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.2966, allocations: 23.42 kB / 0.7796 GB, free: 15.27 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2967, allocations: 0 / 0.7796 GB, free: 15.27 MB / 458.7 MB Notification: Performance of Templates: time 0.005197/0.3019, allocations: 3.791 MB / 0.7833 GB, free: 11.51 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.PerpendicularSquareToRectangularSurface.makefile (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)