Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8029/0.8029, allocations: 128.7 MB / 143.7 MB, free: 2.328 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.001163/0.001163, allocations: 186 kB / 173.8 MB, free: 6.121 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.943/1.943, allocations: 205.4 MB / 409 MB, free: 10.52 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.000869/0.0008691, allocations: 101 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003742, allocations: 9.781 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 76.76 MB / 0.6353 GB, free: 30.58 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.435/6.622, allocations: 2.147 GB / 2.783 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003841/6.623, allocations: 100.9 kB / 2.783 GB, free: 164.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1297/6.752, allocations: 60.41 MB / 2.842 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.927e-06/6.752, allocations: 0 / 2.842 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001388/6.753, allocations: 24 kB / 2.842 GB, free: 114.1 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00374/6.756, allocations: 1.102 MB / 2.843 GB, free: 113 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/6.756, allocations: 12.03 kB / 2.843 GB, free: 113 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002477/6.759, allocations: 314.4 kB / 2.843 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/6.76, allocations: 0.535 MB / 2.844 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/6.76, allocations: 55.94 kB / 2.844 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/6.76, allocations: 73.69 kB / 2.844 GB, free: 112.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/6.762, allocations: 0.8761 MB / 2.845 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/6.762, allocations: 0 / 2.845 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/6.762, allocations: 33 kB / 2.845 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/6.762, allocations: 23.94 kB / 2.845 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/6.764, allocations: 1.157 MB / 2.846 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/6.768, allocations: 2.411 MB / 2.848 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/6.771, allocations: 0.9173 MB / 2.849 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/6.771, allocations: 465.7 kB / 2.85 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009204/6.772, allocations: 0.4892 MB / 2.85 GB, free: 107 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/6.772, allocations: 4 kB / 2.85 GB, free: 107 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.003475/6.776, allocations: 1.224 MB / 2.851 GB, free: 106 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/6.776, allocations: 173.3 kB / 2.851 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/6.777, allocations: 0.4906 MB / 2.852 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/6.777, allocations: 45.52 kB / 2.852 GB, free: 105.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/6.777, allocations: 329.6 kB / 2.852 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/6.777, allocations: 241.8 kB / 2.852 GB, free: 105 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/6.777, allocations: 11.19 kB / 2.853 GB, free: 105 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.26e-05/6.777, allocations: 372 kB / 2.853 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005738/6.778, allocations: 263.6 kB / 2.853 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006193/6.778, allocations: 343.8 kB / 2.853 GB, free: 104.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007264/6.779, allocations: 305.5 kB / 2.854 GB, free: 104 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/6.779, allocations: 4 kB / 2.854 GB, free: 104 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001908/6.781, allocations: 0.8008 MB / 2.855 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/6.781, allocations: 8 kB / 2.855 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/6.781, allocations: 3.953 kB / 2.855 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005848/6.782, allocations: 80.75 kB / 2.855 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/6.783, allocations: 163.2 kB / 2.855 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/6.784, allocations: 1.537 MB / 2.856 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007731/6.785, allocations: 78.75 kB / 2.856 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/6.785, allocations: 31.59 kB / 2.856 GB, free: 101.5 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0005596/6.786, allocations: 239.4 kB / 2.857 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/6.786, allocations: 71.16 kB / 2.857 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/6.788, allocations: 1.084 MB / 2.858 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/6.788, allocations: 8 kB / 2.858 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/6.788, allocations: 0 / 2.858 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/6.788, allocations: 3.984 kB / 2.858 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/6.789, allocations: 0.8443 MB / 2.859 GB, free: 99.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/6.789, allocations: 7.938 kB / 2.859 GB, free: 99.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/6.79, allocations: 156 kB / 2.859 GB, free: 99.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/6.791, allocations: 87.08 kB / 2.859 GB, free: 99.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/6.791, allocations: 22.73 kB / 2.859 GB, free: 99.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/6.792, allocations: 1.574 MB / 2.86 GB, free: 97.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/6.792, allocations: 0 / 2.86 GB, free: 97.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/6.794, allocations: 0.9056 MB / 2.861 GB, free: 97.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/6.795, allocations: 287.8 kB / 2.862 GB, free: 96.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/6.795, allocations: 18.33 kB / 2.862 GB, free: 96.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006173/6.795, allocations: 66.75 kB / 2.862 GB, free: 96.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/6.796, allocations: 55.36 kB / 2.862 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/6.796, allocations: 35.28 kB / 2.862 GB, free: 96.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005285/6.796, allocations: 416.5 kB / 2.862 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/6.796, allocations: 0 / 2.862 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001135/6.797, allocations: 341.8 kB / 2.862 GB, free: 96.27 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.conTim1.tStart,weaDat.conTim.tStart) * 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.001691/6.799, allocations: 1.04 MB / 2.863 GB, free: 95.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001841/6.801, allocations: 0.8063 MB / 2.864 GB, free: 94.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/6.801, allocations: 3.938 kB / 2.864 GB, free: 94.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0009472/6.802, allocations: 0.5248 MB / 2.865 GB, free: 94.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008523/6.803, allocations: 190 kB / 2.865 GB, free: 94.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/6.806, allocations: 2.026 MB / 2.867 GB, free: 92.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/6.807, allocations: 0.9854 MB / 2.868 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001004/6.808, allocations: 261 kB / 2.868 GB, free: 91.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/6.808, allocations: 89.08 kB / 2.868 GB, free: 90.98 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/6.808, allocations: 0 / 2.868 GB, free: 90.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.02529/6.833, allocations: 19.19 MB / 2.887 GB, free: 71.88 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)