Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8055/0.8055, allocations: 127.4 MB / 134.9 MB, free: 3.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 186.6 kB / 164.6 MB, free: 11.6 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009908/0.0009905, allocations: 85.34 kB / 476.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 4.938 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1833, allocations: 76.77 MB / 0.6215 GB, free: 43.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.542/6.725, allocations: 2.146 GB / 2.768 GB, free: 188.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/6.726, allocations: 97.86 kB / 2.768 GB, free: 188.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1198/6.846, allocations: 52.72 MB / 2.819 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.176e-06/6.846, allocations: 0 / 2.819 GB, free: 177.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.036e-05/6.846, allocations: 22.89 kB / 2.819 GB, free: 177.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002177/6.848, allocations: 0.9947 MB / 2.82 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/6.848, allocations: 11.19 kB / 2.82 GB, free: 176.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/6.85, allocations: 291.2 kB / 2.82 GB, free: 176.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/6.851, allocations: 0.5204 MB / 2.821 GB, free: 176 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/6.851, allocations: 31.27 kB / 2.821 GB, free: 176 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/6.851, allocations: 46.53 kB / 2.821 GB, free: 176 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001441/6.853, allocations: 0.9756 MB / 2.822 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/6.854, allocations: 0.6837 MB / 2.823 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/6.854, allocations: 0 / 2.823 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/6.854, allocations: 3.906 kB / 2.823 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/6.854, allocations: 19.69 kB / 2.823 GB, free: 175.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/6.858, allocations: 2.178 MB / 2.825 GB, free: 174.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/6.859, allocations: 0.7301 MB / 2.826 GB, free: 174.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/6.859, allocations: 250.9 kB / 2.826 GB, free: 174.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/6.86, allocations: 472.1 kB / 2.826 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006174/6.86, allocations: 399.8 kB / 2.827 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 4.469e-06/6.86, allocations: 0 / 2.827 GB, free: 173.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.004623/6.865, allocations: 0.9976 MB / 2.828 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/6.865, allocations: 174.5 kB / 2.828 GB, free: 173 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/6.866, allocations: 434.4 kB / 2.828 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/6.866, allocations: 29.33 kB / 2.828 GB, free: 172.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/6.866, allocations: 329.4 kB / 2.829 GB, free: 172.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/6.866, allocations: 216.5 kB / 2.829 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/6.866, allocations: 0 / 2.829 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00016/6.866, allocations: 366.2 kB / 2.829 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/6.867, allocations: 187 kB / 2.829 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/6.867, allocations: 266.5 kB / 2.83 GB, free: 172 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00335/6.87, allocations: 0.5993 MB / 2.83 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/6.87, allocations: 0 / 2.83 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004445/6.875, allocations: 1.006 MB / 2.831 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/6.875, allocations: 11.69 kB / 2.831 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/6.875, allocations: 0 / 2.831 GB, free: 171.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/6.876, allocations: 81.23 kB / 2.831 GB, free: 171.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007296/6.876, allocations: 138.7 kB / 2.831 GB, free: 171.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/6.878, allocations: 1.46 MB / 2.833 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/6.879, allocations: 62.42 kB / 2.833 GB, free: 170.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/6.879, allocations: 29.98 kB / 2.833 GB, free: 170.1 MB / 0.6511 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete 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.0002154/6.879, allocations: 118.7 kB / 2.833 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/6.879, allocations: 62.38 kB / 2.833 GB, free: 169.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/6.884, allocations: 1.23 MB / 2.834 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/6.884, allocations: 15.7 kB / 2.834 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/6.884, allocations: 0 / 2.834 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/6.884, allocations: 3.984 kB / 2.834 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005895/6.89, allocations: 1.988 MB / 2.836 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/6.89, allocations: 0 / 2.836 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/6.891, allocations: 152.8 kB / 2.836 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/6.892, allocations: 84.22 kB / 2.836 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/6.892, allocations: 14.02 kB / 2.836 GB, free: 168.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/6.894, allocations: 1.474 MB / 2.838 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/6.894, allocations: 3.625 kB / 2.838 GB, free: 167.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005099/6.899, allocations: 1.164 MB / 2.839 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/6.9, allocations: 267.9 kB / 2.839 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/6.9, allocations: 0 / 2.839 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/6.901, allocations: 62.2 kB / 2.839 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/6.901, allocations: 53.8 kB / 2.839 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/6.901, allocations: 29.14 kB / 2.839 GB, free: 166.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007261/6.902, allocations: 354.3 kB / 2.84 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.61e-07/6.902, allocations: 3.875 kB / 2.84 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001831/6.904, allocations: 310.2 kB / 2.84 GB, free: 166.4 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.003487/6.907, allocations: 1.047 MB / 2.841 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001526/6.909, allocations: 0.6291 MB / 2.842 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/6.909, allocations: 4.125 kB / 2.842 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007876/6.909, allocations: 436.1 kB / 2.842 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/6.911, allocations: 167.1 kB / 2.842 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/6.915, allocations: 1.19 MB / 2.843 GB, free: 165 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/6.915, allocations: 0.9759 MB / 2.844 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001167/6.917, allocations: 250.4 kB / 2.845 GB, free: 164.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/6.917, allocations: 84.3 kB / 2.845 GB, free: 164 MB / 0.6511 GB Notification: Performance of SimCode: time 3.336e-06/6.917, allocations: 0 / 2.845 GB, free: 164 MB / 0.6511 GB Notification: Performance of Templates: time 0.02584/6.943, allocations: 14.09 MB / 2.858 GB, free: 150.5 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)