Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006731/0.006731, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7363/0.7363, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.0008577/0.0008577, allocations: 90.8 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/0.5539, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/5.269, allocations: 1.694 GB / 2.344 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/5.269, allocations: 97.02 kB / 2.344 GB, free: 22.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7316/6.001, allocations: 68.69 MB / 2.411 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.617e-06/6.001, allocations: 0 / 2.411 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.695e-05/6.001, allocations: 27.94 kB / 2.411 GB, free: 231.1 MB / 0.6823 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.002618/6.004, allocations: 1.211 MB / 2.412 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/6.004, allocations: 8.031 kB / 2.412 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/6.005, allocations: 218.5 kB / 2.412 GB, free: 229.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/6.006, allocations: 0.6304 MB / 2.413 GB, free: 229 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/6.006, allocations: 70 kB / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.772e-05/6.006, allocations: 84 kB / 2.413 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/6.008, allocations: 0.9409 MB / 2.414 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/6.008, allocations: 0 / 2.414 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/6.008, allocations: 39.98 kB / 2.414 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/6.008, allocations: 23.94 kB / 2.414 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/6.01, allocations: 1.132 MB / 2.415 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/6.013, allocations: 2.503 MB / 2.417 GB, free: 224.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/6.015, allocations: 0.8932 MB / 2.418 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.696e-05/6.015, allocations: 32.44 kB / 2.418 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006964/6.016, allocations: 435.3 kB / 2.419 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 2.985e-06/6.016, allocations: 0 / 2.419 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.002841/6.019, allocations: 1.12 MB / 2.42 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.985e-05/6.019, allocations: 244 kB / 2.42 GB, free: 221.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/6.02, allocations: 0.5932 MB / 2.421 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/6.02, allocations: 41.7 kB / 2.421 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/6.02, allocations: 396.2 kB / 2.421 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/6.02, allocations: 240.3 kB / 2.421 GB, free: 220 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/6.02, allocations: 12 kB / 2.421 GB, free: 220 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001176/6.02, allocations: 382.7 kB / 2.422 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/6.021, allocations: 229.2 kB / 2.422 GB, free: 219.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/6.021, allocations: 339.5 kB / 2.422 GB, free: 219 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/6.022, allocations: 263.1 kB / 2.422 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/6.022, allocations: 4 kB / 2.422 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001563/6.023, allocations: 0.7392 MB / 2.423 GB, free: 218 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/6.023, allocations: 4 kB / 2.423 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/6.023, allocations: 4 kB / 2.423 GB, free: 218 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/6.024, allocations: 80.84 kB / 2.423 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/6.025, allocations: 139.8 kB / 2.423 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/6.026, allocations: 1.526 MB / 2.425 GB, free: 216.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/6.027, allocations: 91.38 kB / 2.425 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/6.027, allocations: 35.92 kB / 2.425 GB, free: 216 MB / 0.6823 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 (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.000523/6.028, allocations: 254.9 kB / 2.425 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/6.028, allocations: 79.06 kB / 2.425 GB, free: 215.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/6.03, allocations: 1.021 MB / 2.426 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/6.03, allocations: 11.98 kB / 2.426 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/6.03, allocations: 0 / 2.426 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/6.03, allocations: 7.984 kB / 2.426 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/6.033, allocations: 1.949 MB / 2.428 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/6.033, allocations: 4 kB / 2.428 GB, free: 212.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/6.033, allocations: 147.8 kB / 2.428 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005171/6.034, allocations: 80.78 kB / 2.428 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/6.034, allocations: 23.98 kB / 2.429 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/6.035, allocations: 1.555 MB / 2.43 GB, free: 210.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/6.035, allocations: 4.062 kB / 2.43 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/6.037, allocations: 0.9334 MB / 2.431 GB, free: 209.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/6.038, allocations: 283.7 kB / 2.431 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.866e-05/6.038, allocations: 19.95 kB / 2.431 GB, free: 209.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/6.038, allocations: 71.94 kB / 2.431 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/6.038, allocations: 57.2 kB / 2.431 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/6.038, allocations: 35.97 kB / 2.431 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005679/6.039, allocations: 491 kB / 2.432 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/6.039, allocations: 0 / 2.432 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001259/6.04, allocations: 371 kB / 2.432 GB, free: 208.4 MB / 0.6823 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 (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.002201/6.043, allocations: 1.06 MB / 2.433 GB, free: 207.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001522/6.044, allocations: 0.7357 MB / 2.434 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/6.044, allocations: 0 / 2.434 GB, free: 206.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/6.045, allocations: 0.5 MB / 2.434 GB, free: 206.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/6.046, allocations: 247.2 kB / 2.435 GB, free: 206.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/6.05, allocations: 2.148 MB / 2.437 GB, free: 203.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/6.05, allocations: 1.043 MB / 2.438 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009117/6.051, allocations: 262.2 kB / 2.438 GB, free: 202.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/6.052, allocations: 95.38 kB / 2.438 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.553e-06/6.052, allocations: 0 / 2.438 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.03063/6.082, allocations: 20.43 MB / 2.458 GB, free: 182.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)