Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8141/0.8141, allocations: 140 MB / 156 MB, free: 5.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 176.8 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.4 MB / 426.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007453/0.0007453, allocations: 90.38 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001662/0.001663, allocations: 277.6 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004512, allocations: 16 kB / 0.662 GB, free: 6.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3962, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.753/5.149, allocations: 2.043 GB / 2.782 GB, free: 166.6 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/5.149, allocations: 95.83 kB / 2.782 GB, free: 166.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1613/5.311, allocations: 79.59 MB / 2.86 GB, free: 86.57 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.354e-06/5.311, allocations: 0 / 2.86 GB, free: 86.57 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001365/5.311, allocations: 27.98 kB / 2.86 GB, free: 86.54 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002887/5.314, allocations: 1.343 MB / 2.861 GB, free: 85.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/5.314, allocations: 12.03 kB / 2.861 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/5.315, allocations: 219.1 kB / 2.861 GB, free: 84.91 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/5.316, allocations: 0.7295 MB / 2.862 GB, free: 84.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.945e-05/5.316, allocations: 86.62 kB / 2.862 GB, free: 84.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/5.316, allocations: 112.4 kB / 2.862 GB, free: 83.95 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/5.317, allocations: 1.11 MB / 2.863 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/5.318, allocations: 192 / 2.863 GB, free: 82.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.601e-05/5.318, allocations: 55.94 kB / 2.864 GB, free: 82.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/5.318, allocations: 24 kB / 2.864 GB, free: 82.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/5.319, allocations: 1.226 MB / 2.865 GB, free: 81.46 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/5.323, allocations: 3.02 MB / 2.868 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/5.324, allocations: 0.7768 MB / 2.868 GB, free: 77.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/5.325, allocations: 298.6 kB / 2.869 GB, free: 77.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/5.325, allocations: 36.61 kB / 2.869 GB, free: 77.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/5.325, allocations: 459.1 kB / 2.869 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=78): time 3.296e-06/5.325, allocations: 0 / 2.869 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.002577/5.328, allocations: 1.162 MB / 2.87 GB, free: 75.59 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/5.328, allocations: 240 kB / 2.871 GB, free: 75.29 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/5.329, allocations: 0.7272 MB / 2.871 GB, free: 74.56 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/5.329, allocations: 41.7 kB / 2.871 GB, free: 74.51 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003113/5.329, allocations: 0.4957 MB / 2.872 GB, free: 74.01 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/5.329, allocations: 256.2 kB / 2.872 GB, free: 73.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/5.329, allocations: 12 kB / 2.872 GB, free: 73.74 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.381e-05/5.33, allocations: 337.9 kB / 2.872 GB, free: 73.41 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/5.33, allocations: 241.9 kB / 2.873 GB, free: 73.17 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000448/5.33, allocations: 363.3 kB / 2.873 GB, free: 72.79 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/5.331, allocations: 0.5713 MB / 2.874 GB, free: 72.21 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/5.331, allocations: 0 / 2.874 GB, free: 72.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001519/5.333, allocations: 0.7941 MB / 2.874 GB, free: 71.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/5.333, allocations: 11.94 kB / 2.874 GB, free: 71.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/5.333, allocations: 0 / 2.874 GB, free: 71.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/5.333, allocations: 84.8 kB / 2.874 GB, free: 71.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/5.334, allocations: 147.8 kB / 2.875 GB, free: 71.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/5.336, allocations: 1.526 MB / 2.876 GB, free: 69.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/5.336, allocations: 87.28 kB / 2.876 GB, free: 69.41 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/5.336, allocations: 27.98 kB / 2.876 GB, free: 69.38 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005459/5.337, allocations: 274.9 kB / 2.876 GB, free: 69.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/5.337, allocations: 94.89 kB / 2.876 GB, free: 69.01 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/5.339, allocations: 1.035 MB / 2.877 GB, free: 67.96 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/5.339, allocations: 12 kB / 2.878 GB, free: 67.95 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/5.339, allocations: 0 / 2.878 GB, free: 67.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/5.339, allocations: 3.984 kB / 2.878 GB, free: 67.94 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/5.34, allocations: 1.009 MB / 2.878 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/5.34, allocations: 0 / 2.878 GB, free: 66.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/5.34, allocations: 147.8 kB / 2.879 GB, free: 66.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/5.341, allocations: 84.72 kB / 2.879 GB, free: 66.65 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.053e-05/5.341, allocations: 23.98 kB / 2.879 GB, free: 66.63 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/5.342, allocations: 1.544 MB / 2.88 GB, free: 64.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/5.342, allocations: 3.938 kB / 2.88 GB, free: 64.95 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/5.344, allocations: 0.8927 MB / 2.881 GB, free: 64.03 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003756/5.344, allocations: 295.6 kB / 2.881 GB, free: 63.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/5.344, allocations: 20.06 kB / 2.881 GB, free: 63.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005187/5.345, allocations: 71.94 kB / 2.881 GB, free: 63.63 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/5.345, allocations: 60.91 kB / 2.882 GB, free: 63.57 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/5.345, allocations: 31.98 kB / 2.882 GB, free: 63.54 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006717/5.346, allocations: 0.5186 MB / 2.882 GB, free: 63.02 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/5.346, allocations: 4 kB / 2.882 GB, free: 63.02 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001117/5.347, allocations: 378.8 kB / 2.882 GB, free: 62.65 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/5.349, allocations: 1.017 MB / 2.883 GB, free: 61.74 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001452/5.35, allocations: 0.7843 MB / 2.884 GB, free: 60.94 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/5.35, allocations: 0 / 2.884 GB, free: 60.94 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/5.351, allocations: 0.5081 MB / 2.885 GB, free: 60.42 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/5.352, allocations: 266.1 kB / 2.885 GB, free: 60.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/5.357, allocations: 2.461 MB / 2.887 GB, free: 57.68 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/5.358, allocations: 1.082 MB / 2.888 GB, free: 56.57 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00103/5.359, allocations: 254.7 kB / 2.889 GB, free: 56.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/5.359, allocations: 103.4 kB / 2.889 GB, free: 56.21 MB / 0.6667 GB Notification: Performance of SimCode: time 9.32e-07/5.359, allocations: 0 / 2.889 GB, free: 56.21 MB / 0.6667 GB Notification: Performance of Templates: time 0.03271/5.392, allocations: 20.77 MB / 2.909 GB, free: 35.53 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)