Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.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.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") translateModel(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7523/0.7523, allocations: 143.4 MB / 159.2 MB, free: 4.906 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.001165/0.001165, allocations: 186.9 kB / 191.9 MB, free: 5.707 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.331/1.331, allocations: 222.9 MB / 447.3 MB, free: 5.848 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.001418/0.001419, allocations: 107.5 kB / 0.517 GB, free: 3.688 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 283.2 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 79.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces): time 0.002059/0.2869, allocations: 1.441 MB / 0.7693 GB, free: 26.2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2885, allocations: 1.426 MB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.2886, allocations: 0 / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.635e-05/0.2886, allocations: 11.92 kB / 0.7708 GB, free: 24.76 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006964/0.2894, allocations: 399.6 kB / 0.7711 GB, free: 24.37 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.865e-06/0.2894, allocations: 0 / 0.7711 GB, free: 24.37 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2895, allocations: 195.5 kB / 0.7713 GB, free: 24.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.017e-05/0.2896, allocations: 4 kB / 0.7713 GB, free: 24.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.955e-05/0.2896, allocations: 63.75 kB / 0.7714 GB, free: 24.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.2898, allocations: 79.72 kB / 0.7715 GB, free: 24.03 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2898, allocations: 11.94 kB / 0.7715 GB, free: 24.02 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.2904, allocations: 0.6512 MB / 0.7721 GB, free: 23.37 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.2904, allocations: 67.8 kB / 0.7722 GB, free: 23.3 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.2905, allocations: 63.53 kB / 0.7722 GB, free: 23.24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005133/0.291, allocations: 0.6652 MB / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.291, allocations: 0 / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.291, allocations: 0 / 0.7729 GB, free: 22.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.291, allocations: 3.938 kB / 0.7729 GB, free: 22.57 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004503/0.2915, allocations: 0.5095 MB / 0.7734 GB, free: 22.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.2915, allocations: 12.03 kB / 0.7734 GB, free: 22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.2916, allocations: 16.75 kB / 0.7734 GB, free: 21.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2918, allocations: 216 kB / 0.7736 GB, free: 21.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2918, allocations: 4.375 kB / 0.7736 GB, free: 21.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2918, allocations: 12.36 kB / 0.7736 GB, free: 21.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.2921, allocations: 238.6 kB / 0.7739 GB, free: 21.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2921, allocations: 0 / 0.7739 GB, free: 21.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2921, allocations: 7.984 kB / 0.7739 GB, free: 21.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-05/0.2922, allocations: 51.95 kB / 0.7739 GB, free: 21.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.2924, allocations: 164.2 kB / 0.7741 GB, free: 21.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.2931, allocations: 0.5359 MB / 0.7746 GB, free: 20.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.2933, allocations: 86.53 kB / 0.7747 GB, free: 20.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.2934, allocations: 52.83 kB / 0.7747 GB, free: 20.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2934, allocations: 0 / 0.7747 GB, free: 20.53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.859e-06/0.2934, allocations: 34.5 kB / 0.7748 GB, free: 20.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2934, allocations: 0 / 0.7748 GB, free: 20.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.000286/0.2937, allocations: 177.6 kB / 0.7749 GB, free: 20.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.718e-05/0.2937, allocations: 51.41 kB / 0.775 GB, free: 20.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2939, allocations: 244 kB / 0.7752 GB, free: 20 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.2939, allocations: 33.7 kB / 0.7752 GB, free: 19.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.294, allocations: 143.9 kB / 0.7754 GB, free: 19.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.294, allocations: 35.48 kB / 0.7754 GB, free: 19.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.294, allocations: 33.69 kB / 0.7754 GB, free: 19.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.2941, allocations: 330.8 kB / 0.7758 GB, free: 19.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.2942, allocations: 47.97 kB / 0.7758 GB, free: 19.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.839e-05/0.2942, allocations: 85.5 kB / 0.7759 GB, free: 19.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2944, allocations: 148.1 kB / 0.776 GB, free: 19.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2944, allocations: 0 / 0.776 GB, free: 19.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002101/0.2946, allocations: 189.3 kB / 0.7762 GB, free: 18.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2946, allocations: 4 kB / 0.7762 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2947, allocations: 0 / 0.7762 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2947, allocations: 4 kB / 0.7762 GB, free: 18.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.2948, allocations: 23.92 kB / 0.7762 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2949, allocations: 4.062 kB / 0.7762 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.2949, allocations: 15.75 kB / 0.7763 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.295, allocations: 8 kB / 0.7763 GB, free: 18.85 MB / 458.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 (11): * Single equations (assignments): 10 * 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 7.488e-05/0.295, allocations: 141.8 kB / 0.7764 GB, free: 18.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.2951, allocations: 19.78 kB / 0.7764 GB, free: 18.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002467/0.2953, allocations: 178.8 kB / 0.7766 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.2954, allocations: 8 kB / 0.7766 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2954, allocations: 0 / 0.7766 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2954, allocations: 0 / 0.7766 GB, free: 18.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.2956, allocations: 241.6 kB / 0.7768 GB, free: 18.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2956, allocations: 0 / 0.7768 GB, free: 18.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.2957, allocations: 19.94 kB / 0.7769 GB, free: 18.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2957, allocations: 0 / 0.7769 GB, free: 18.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2958, allocations: 7.984 kB / 0.7769 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2958, allocations: 3.938 kB / 0.7769 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2958, allocations: 4.062 kB / 0.7769 GB, free: 18.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.2962, allocations: 0.8758 MB / 0.7777 GB, free: 17.24 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.2962, allocations: 100.9 kB / 0.7778 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2962, allocations: 4 kB / 0.7778 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.2963, allocations: 0 / 0.7778 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.2964, allocations: 7.984 kB / 0.7778 GB, free: 17.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.2964, allocations: 8 kB / 0.7778 GB, free: 17.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.2965, allocations: 185.2 kB / 0.778 GB, free: 16.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2965, allocations: 4.125 kB / 0.778 GB, free: 16.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005413/0.2971, allocations: 219.8 kB / 0.7782 GB, free: 16.71 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.0004007/0.2975, allocations: 251.6 kB / 0.7785 GB, free: 16.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.2977, allocations: 131.8 kB / 0.7786 GB, free: 16.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.2978, allocations: 0 / 0.7786 GB, free: 16.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.2978, allocations: 63.95 kB / 0.7787 GB, free: 16.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2981, allocations: 19.12 kB / 0.7787 GB, free: 16.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005105/0.2986, allocations: 0.5508 MB / 0.7792 GB, free: 15.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2987, allocations: 0.7516 MB / 0.7799 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000105/0.2989, allocations: 41.41 kB / 0.78 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.2989, allocations: 23.42 kB / 0.78 GB, free: 14.81 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.2989, allocations: 0 / 0.78 GB, free: 14.81 MB / 458.7 MB Notification: Performance of Templates: time 0.005263/0.3042, allocations: 3.958 MB / 0.7839 GB, free: 10.88 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.sim & ./BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Geometries.Viewfactors.Examples.ParallelRectangularEqualSurfaces.pipe 2>&1)