Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.798/0.798, allocations: 130.7 MB / 138.7 MB, free: 3.492 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 92.11 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.366e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5792, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.634/5.213, allocations: 1.693 GB / 2.321 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/5.213, allocations: 89.69 kB / 2.321 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.5106/5.724, allocations: 67.55 MB / 2.387 GB, free: 211.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.272e-06/5.724, allocations: 0 / 2.387 GB, free: 211.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.186e-05/5.724, allocations: 24 kB / 2.387 GB, free: 211.7 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00155/5.725, allocations: 1.118 MB / 2.388 GB, free: 210.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/5.726, allocations: 8.031 kB / 2.388 GB, free: 210.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009639/5.727, allocations: 210.5 kB / 2.389 GB, free: 210.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/5.727, allocations: 0.6231 MB / 2.389 GB, free: 209.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/5.727, allocations: 28 kB / 2.389 GB, free: 209.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/5.727, allocations: 56 kB / 2.389 GB, free: 209.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/5.729, allocations: 1.019 MB / 2.39 GB, free: 208.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/5.73, allocations: 0.777 MB / 2.391 GB, free: 207.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/5.73, allocations: 0 / 2.391 GB, free: 207.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/5.73, allocations: 7.953 kB / 2.391 GB, free: 207.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/5.73, allocations: 20 kB / 2.391 GB, free: 207.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/5.733, allocations: 2.317 MB / 2.393 GB, free: 205.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/5.734, allocations: 0.797 MB / 2.394 GB, free: 204.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/5.735, allocations: 247.1 kB / 2.394 GB, free: 204.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/5.735, allocations: 32.75 kB / 2.394 GB, free: 204.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/5.735, allocations: 391.8 kB / 2.395 GB, free: 203.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=73): time 1.944e-06/5.735, allocations: 0 / 2.395 GB, free: 203.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73): time 0.001319/5.736, allocations: 0.6563 MB / 2.395 GB, free: 203.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/5.737, allocations: 240.1 kB / 2.396 GB, free: 202.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/5.737, allocations: 498.3 kB / 2.396 GB, free: 202.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/5.737, allocations: 29.7 kB / 2.396 GB, free: 202.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/5.737, allocations: 403.9 kB / 2.397 GB, free: 201.9 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/5.737, allocations: 232.5 kB / 2.397 GB, free: 201.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/5.737, allocations: 0 / 2.397 GB, free: 201.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.309e-05/5.738, allocations: 378.8 kB / 2.397 GB, free: 201.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/5.738, allocations: 185.5 kB / 2.397 GB, free: 201.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/5.738, allocations: 295.5 kB / 2.398 GB, free: 200.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/5.738, allocations: 232.5 kB / 2.398 GB, free: 200.6 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/5.738, allocations: 0 / 2.398 GB, free: 200.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001187/5.74, allocations: 0.6447 MB / 2.398 GB, free: 199.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/5.74, allocations: 12 kB / 2.398 GB, free: 199.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/5.74, allocations: 0 / 2.398 GB, free: 199.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005509/5.74, allocations: 80.78 kB / 2.399 GB, free: 199.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/5.741, allocations: 139.8 kB / 2.399 GB, free: 199.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/5.742, allocations: 1.449 MB / 2.4 GB, free: 198.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005145/5.743, allocations: 63.59 kB / 2.4 GB, free: 198.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/5.743, allocations: 23.98 kB / 2.4 GB, free: 198 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 () * 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.0001392/5.743, allocations: 124.8 kB / 2.4 GB, free: 197.9 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/5.743, allocations: 79.14 kB / 2.4 GB, free: 197.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/5.745, allocations: 0.8868 MB / 2.401 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/5.745, allocations: 8 kB / 2.401 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/5.745, allocations: 4 kB / 2.401 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/5.745, allocations: 7.969 kB / 2.401 GB, free: 196.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/5.747, allocations: 1.723 MB / 2.403 GB, free: 195.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/5.747, allocations: 0 / 2.403 GB, free: 195.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000547/5.747, allocations: 151.8 kB / 2.403 GB, free: 195 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/5.748, allocations: 80.78 kB / 2.403 GB, free: 194.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/5.748, allocations: 11.98 kB / 2.403 GB, free: 194.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/5.749, allocations: 1.484 MB / 2.405 GB, free: 193.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/5.749, allocations: 0 / 2.405 GB, free: 193.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/5.751, allocations: 0.8221 MB / 2.405 GB, free: 192.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/5.751, allocations: 275.8 kB / 2.406 GB, free: 192.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/5.751, allocations: 0 / 2.406 GB, free: 192.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/5.751, allocations: 55.94 kB / 2.406 GB, free: 192.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/5.752, allocations: 64.64 kB / 2.406 GB, free: 192 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/5.752, allocations: 35.97 kB / 2.406 GB, free: 192 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003622/5.752, allocations: 394.9 kB / 2.406 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/5.752, allocations: 0 / 2.406 GB, free: 191.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009752/5.753, allocations: 346.9 kB / 2.407 GB, free: 191.3 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.001495/5.755, allocations: 1.081 MB / 2.408 GB, free: 190.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009386/5.755, allocations: 0.6356 MB / 2.408 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/5.755, allocations: 4 kB / 2.408 GB, free: 189.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005424/5.756, allocations: 448.7 kB / 2.409 GB, free: 189.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/5.757, allocations: 222.5 kB / 2.409 GB, free: 189 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/5.76, allocations: 1.325 MB / 2.41 GB, free: 187.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/5.76, allocations: 1.039 MB / 2.411 GB, free: 186.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007594/5.761, allocations: 261.7 kB / 2.411 GB, free: 186.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/5.761, allocations: 87.39 kB / 2.412 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of SimCode: time 7.31e-07/5.761, allocations: 0 / 2.412 GB, free: 186.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.02067/5.782, allocations: 15.59 MB / 2.427 GB, free: 170.7 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)