Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8414/0.8414, allocations: 140.1 MB / 156 MB, free: 5.164 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.001015/0.001015, allocations: 177.2 kB / 188.5 MB, free: 15.82 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.635/1.635, allocations: 205.4 MB / 426.3 MB, free: 8.457 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.0009693/0.0009693, allocations: 90.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001686/0.001686, allocations: 276 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 23.98 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4464, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.866/5.312, allocations: 2.042 GB / 2.781 GB, free: 167.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/5.313, allocations: 98.84 kB / 2.781 GB, free: 167.6 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1166/5.429, allocations: 58.59 MB / 2.838 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.495e-06/5.429, allocations: 0 / 2.838 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.762e-05/5.429, allocations: 20 kB / 2.838 GB, free: 108.6 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001704/5.431, allocations: 1.124 MB / 2.839 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/5.431, allocations: 12.03 kB / 2.839 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007365/5.432, allocations: 179.6 kB / 2.84 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/5.433, allocations: 0.6316 MB / 2.84 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/5.433, allocations: 54.38 kB / 2.84 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/5.433, allocations: 72.38 kB / 2.84 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/5.434, allocations: 0.8292 MB / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/5.434, allocations: 192 / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.555e-05/5.434, allocations: 43.92 kB / 2.841 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/5.434, allocations: 24 kB / 2.841 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/5.435, allocations: 1.042 MB / 2.842 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/5.438, allocations: 2.336 MB / 2.845 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/5.439, allocations: 0.7775 MB / 2.845 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/5.44, allocations: 282.4 kB / 2.846 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.107e-05/5.44, allocations: 28.53 kB / 2.846 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005986/5.44, allocations: 429.6 kB / 2.846 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.345e-06/5.44, allocations: 0 / 2.846 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.00257/5.443, allocations: 1.066 MB / 2.847 GB, free: 99.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/5.443, allocations: 239.9 kB / 2.847 GB, free: 99.16 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/5.444, allocations: 0.6202 MB / 2.848 GB, free: 98.53 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/5.444, allocations: 49.7 kB / 2.848 GB, free: 98.47 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/5.444, allocations: 356.3 kB / 2.848 GB, free: 98.12 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/5.444, allocations: 232.6 kB / 2.848 GB, free: 97.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/5.444, allocations: 12 kB / 2.849 GB, free: 97.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001212/5.444, allocations: 378.7 kB / 2.849 GB, free: 97.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/5.445, allocations: 213.2 kB / 2.849 GB, free: 97.29 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/5.445, allocations: 319.7 kB / 2.849 GB, free: 96.95 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007884/5.446, allocations: 0.5108 MB / 2.85 GB, free: 96.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/5.446, allocations: 0 / 2.85 GB, free: 96.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001415/5.447, allocations: 0.7003 MB / 2.851 GB, free: 95.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/5.447, allocations: 4 kB / 2.851 GB, free: 95.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/5.447, allocations: 8.062 kB / 2.851 GB, free: 95.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/5.448, allocations: 84.8 kB / 2.851 GB, free: 95.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/5.448, allocations: 131.9 kB / 2.851 GB, free: 95.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/5.45, allocations: 1.517 MB / 2.852 GB, free: 93.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/5.451, allocations: 79.45 kB / 2.852 GB, free: 93.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/5.451, allocations: 23.98 kB / 2.852 GB, free: 93.72 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 (72): * Single equations (assignments): 71 * 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.0004478/5.451, allocations: 245.9 kB / 2.853 GB, free: 93.47 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/5.451, allocations: 75.09 kB / 2.853 GB, free: 93.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/5.453, allocations: 0.978 MB / 2.854 GB, free: 92.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/5.453, allocations: 8 kB / 2.854 GB, free: 92.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/5.453, allocations: 0 / 2.854 GB, free: 92.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/5.453, allocations: 7.922 kB / 2.854 GB, free: 92.39 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002709/5.456, allocations: 1.853 MB / 2.855 GB, free: 90.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/5.456, allocations: 7.984 kB / 2.855 GB, free: 90.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/5.457, allocations: 127.9 kB / 2.856 GB, free: 90.35 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/5.457, allocations: 92.64 kB / 2.856 GB, free: 90.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/5.457, allocations: 23.98 kB / 2.856 GB, free: 90.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/5.459, allocations: 1.536 MB / 2.857 GB, free: 88.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/5.459, allocations: 0 / 2.857 GB, free: 88.56 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/5.46, allocations: 0.8985 MB / 2.858 GB, free: 87.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/5.46, allocations: 271.8 kB / 2.858 GB, free: 87.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/5.46, allocations: 16 kB / 2.858 GB, free: 87.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/5.461, allocations: 67.94 kB / 2.858 GB, free: 87.27 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/5.461, allocations: 64.86 kB / 2.858 GB, free: 87.21 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/5.461, allocations: 27.97 kB / 2.858 GB, free: 87.18 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004682/5.462, allocations: 467 kB / 2.859 GB, free: 86.72 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1e-07/5.462, allocations: 0 / 2.859 GB, free: 86.72 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009997/5.463, allocations: 323.2 kB / 2.859 GB, free: 86.4 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * 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.001745/5.464, allocations: 1.023 MB / 2.86 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001445/5.466, allocations: 0.7083 MB / 2.861 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/5.466, allocations: 7.938 kB / 2.861 GB, free: 84.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/5.467, allocations: 480.3 kB / 2.861 GB, free: 84.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/5.468, allocations: 251.9 kB / 2.862 GB, free: 84.04 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/5.471, allocations: 2.005 MB / 2.864 GB, free: 82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/5.471, allocations: 0.9877 MB / 2.865 GB, free: 80.98 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007629/5.472, allocations: 249.7 kB / 2.865 GB, free: 80.74 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/5.472, allocations: 87.39 kB / 2.865 GB, free: 80.65 MB / 0.6667 GB Notification: Performance of SimCode: time 4.91e-07/5.472, allocations: 3.938 kB / 2.865 GB, free: 80.65 MB / 0.6667 GB Notification: Performance of Templates: time 0.02663/5.499, allocations: 19.89 MB / 2.884 GB, free: 60.84 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)