Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3183/0.3183, allocations: 55.01 MB / 69.96 MB, free: 8.684 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001333/0.001334, allocations: 191.5 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.201/2.201, allocations: 194.4 MB / 292.3 MB, free: 3.602 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001734/0.001734, allocations: 104.7 kB / 350.7 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003946, allocations: 12 kB / 418.9 MB, free: 37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 57.65 MB / 476.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.101, allocations: 2.13 GB / 2.595 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/6.102, allocations: 91.95 kB / 2.595 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4994/6.601, allocations: 57.66 MB / 2.652 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.166e-06/6.601, allocations: 3.75 kB / 2.652 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.547e-05/6.601, allocations: 26.42 kB / 2.652 GB, free: 148.5 MB / 0.4948 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.002414/6.604, allocations: 1.144 MB / 2.653 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.626e-05/6.604, allocations: 8.094 kB / 2.653 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/6.607, allocations: 322.8 kB / 2.653 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/6.608, allocations: 0.518 MB / 2.654 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/6.608, allocations: 59.52 kB / 2.654 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/6.608, allocations: 75.84 kB / 2.654 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/6.61, allocations: 0.8893 MB / 2.655 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/6.611, allocations: 0 / 2.655 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/6.611, allocations: 35.48 kB / 2.655 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/6.611, allocations: 20.88 kB / 2.655 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/6.613, allocations: 1.175 MB / 2.656 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003934/6.617, allocations: 2.446 MB / 2.658 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00299/6.62, allocations: 0.9537 MB / 2.659 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/6.621, allocations: 475.1 kB / 2.66 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/6.622, allocations: 0.5001 MB / 2.66 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/6.622, allocations: 0 / 2.66 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.004041/6.626, allocations: 1.279 MB / 2.661 GB, free: 146 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/6.626, allocations: 165.8 kB / 2.662 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/6.627, allocations: 489.6 kB / 2.662 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/6.627, allocations: 39.95 kB / 2.662 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/6.627, allocations: 330.8 kB / 2.662 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/6.628, allocations: 240.3 kB / 2.663 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/6.628, allocations: 12.41 kB / 2.663 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001621/6.628, allocations: 369.6 kB / 2.663 GB, free: 145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/6.629, allocations: 297.2 kB / 2.663 GB, free: 145 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009471/6.63, allocations: 379.2 kB / 2.664 GB, free: 145 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/6.631, allocations: 382.3 kB / 2.664 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/6.631, allocations: 0 / 2.664 GB, free: 144.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002826/6.634, allocations: 0.9751 MB / 2.665 GB, free: 144.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/6.634, allocations: 58 kB / 2.665 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/6.634, allocations: 1.5 kB / 2.665 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/6.634, allocations: 82.98 kB / 2.665 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/6.635, allocations: 158.5 kB / 2.665 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/6.637, allocations: 1.546 MB / 2.667 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008685/6.638, allocations: 84.34 kB / 2.667 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/6.638, allocations: 33.97 kB / 2.667 GB, free: 143.4 MB / 0.4948 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * 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.0006624/6.639, allocations: 244.3 kB / 2.667 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/6.639, allocations: 63.97 kB / 2.667 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/6.643, allocations: 1.131 MB / 2.668 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/6.643, allocations: 7.375 kB / 2.668 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/6.643, allocations: 5.562 kB / 2.668 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/6.643, allocations: 3.75 kB / 2.668 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/6.644, allocations: 0.8426 MB / 2.669 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/6.644, allocations: 5.812 kB / 2.669 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/6.645, allocations: 158.7 kB / 2.669 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000584/6.646, allocations: 94.92 kB / 2.669 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/6.646, allocations: 26.03 kB / 2.669 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/6.648, allocations: 1.568 MB / 2.671 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/6.648, allocations: 0 / 2.671 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/6.65, allocations: 0.9376 MB / 2.672 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/6.651, allocations: 282.2 kB / 2.672 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/6.651, allocations: 16.59 kB / 2.672 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008392/6.652, allocations: 75.09 kB / 2.672 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/6.652, allocations: 55.03 kB / 2.672 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/6.652, allocations: 36.05 kB / 2.672 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006839/6.653, allocations: 400.6 kB / 2.673 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/6.653, allocations: 0 / 2.673 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001641/6.655, allocations: 367 kB / 2.673 GB, free: 141.2 MB / 0.4948 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.002701/6.657, allocations: 1.095 MB / 2.674 GB, free: 140.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002233/6.66, allocations: 0.9812 MB / 2.675 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/6.66, allocations: 0 / 2.675 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/6.661, allocations: 0.5299 MB / 2.676 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009735/6.662, allocations: 171.6 kB / 2.676 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/6.666, allocations: 2.014 MB / 2.678 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/6.667, allocations: 0.9845 MB / 2.679 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001228/6.668, allocations: 264.7 kB / 2.679 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/6.668, allocations: 90.89 kB / 2.679 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.014e-06/6.668, allocations: 0 / 2.679 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.0309/6.699, allocations: 19.32 MB / 2.698 GB, free: 137.3 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)