Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008067/0.008067, allocations: 171 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7861/0.7861, 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.624/1.624, allocations: 223.2 MB / 406.9 MB, free: 3.133 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.001101/0.001101, allocations: 85.59 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003955, allocations: 8 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5345, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.261/4.796, allocations: 1.698 GB / 2.348 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/4.796, allocations: 92.25 kB / 2.348 GB, free: 185.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2154/5.012, allocations: 100 MB / 2.445 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/5.012, allocations: 0 / 2.445 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.269e-05/5.012, allocations: 51.92 kB / 2.445 GB, free: 147.6 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.00383/5.016, allocations: 2.066 MB / 2.447 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/5.016, allocations: 8.031 kB / 2.447 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/5.028, allocations: 1.885 MB / 2.449 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/5.031, allocations: 1.046 MB / 2.45 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/5.031, allocations: 156.1 kB / 2.45 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003414/5.031, allocations: 192.3 kB / 2.451 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00814/5.039, allocations: 3.054 MB / 2.454 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/5.04, allocations: 0 / 2.454 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002418/5.04, allocations: 85.75 kB / 2.454 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/5.04, allocations: 48 kB / 2.454 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/5.051, allocations: 4.173 MB / 2.458 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/5.064, allocations: 6.746 MB / 2.464 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/5.072, allocations: 2.713 MB / 2.467 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/5.072, allocations: 0.5074 MB / 2.468 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00438/5.077, allocations: 1.687 MB / 2.469 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 3.798e-06/5.077, allocations: 4 kB / 2.469 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.01277/5.089, allocations: 4.23 MB / 2.473 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/5.09, allocations: 261.3 kB / 2.474 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/5.091, allocations: 0.7979 MB / 2.474 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002682/5.091, allocations: 57.7 kB / 2.474 GB, free: 119 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005463/5.092, allocations: 0.649 MB / 2.475 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/5.092, allocations: 0.6275 MB / 2.476 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/5.092, allocations: 28 kB / 2.476 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001152/5.093, allocations: 370 kB / 2.476 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/5.096, allocations: 1.183 MB / 2.477 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/5.1, allocations: 1.363 MB / 2.478 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/5.104, allocations: 1.216 MB / 2.48 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/5.104, allocations: 0 / 2.48 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008976/5.113, allocations: 2.917 MB / 2.483 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/5.113, allocations: 4 kB / 2.483 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/5.113, allocations: 4 kB / 2.483 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/5.113, allocations: 88.83 kB / 2.483 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/5.117, allocations: 0.5617 MB / 2.483 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/5.119, allocations: 1.541 MB / 2.485 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/5.122, allocations: 334.3 kB / 2.485 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/5.123, allocations: 87.89 kB / 2.485 GB, free: 107.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.001333/5.124, allocations: 390.4 kB / 2.485 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/5.124, allocations: 146.2 kB / 2.486 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/5.135, allocations: 3.523 MB / 2.489 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/5.135, allocations: 20 kB / 2.489 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/5.135, allocations: 0 / 2.489 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/5.135, allocations: 15.95 kB / 2.489 GB, free: 103.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/5.147, allocations: 5.75 MB / 2.495 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/5.147, allocations: 0 / 2.495 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003411/5.15, allocations: 0.5539 MB / 2.495 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005792/5.151, allocations: 88.72 kB / 2.495 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002347/5.151, allocations: 67.92 kB / 2.495 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/5.153, allocations: 1.567 MB / 2.497 GB, free: 95.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/5.153, allocations: 0 / 2.497 GB, free: 95.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008456/5.161, allocations: 3.059 MB / 2.5 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/5.162, allocations: 0.5529 MB / 2.5 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/5.163, allocations: 40 kB / 2.5 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003194/5.166, allocations: 263.7 kB / 2.501 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002832/5.166, allocations: 125.8 kB / 2.501 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002293/5.167, allocations: 79.92 kB / 2.501 GB, free: 91.37 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001092/5.168, allocations: 0.6735 MB / 2.502 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/5.168, allocations: 8 kB / 2.502 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002149/5.17, allocations: 0.6505 MB / 2.502 GB, free: 90.02 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 (210): * Single equations (assignments): 207 * 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.002403/5.172, allocations: 1.136 MB / 2.503 GB, free: 89.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008588/5.181, allocations: 2.952 MB / 2.506 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/5.181, allocations: 4 kB / 2.506 GB, free: 86.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004273/5.185, allocations: 1.669 MB / 2.508 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/5.187, allocations: 273.1 kB / 2.508 GB, free: 84.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/5.196, allocations: 4.63 MB / 2.513 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/5.197, allocations: 1.377 MB / 2.514 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003927/5.201, allocations: 0.5622 MB / 2.515 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009421/5.202, allocations: 219.2 kB / 2.515 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/5.202, allocations: 0 / 2.515 GB, free: 77.31 MB / 0.6823 GB Notification: Performance of Templates: time 0.04764/5.25, allocations: 33.32 MB / 2.547 GB, free: 44.1 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)