Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.01284/0.01284, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7481/0.7481, allocations: 132.3 MB / 148.1 MB, free: 240 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 223.2 MB / 403.2 MB, free: 6.758 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.001032/0.001032, allocations: 94.33 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 11.98 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5229/0.5233, allocations: 81.58 MB / 0.6437 GB, free: 39.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.43/4.954, allocations: 1.698 GB / 2.342 GB, free: 43.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/4.954, allocations: 91.95 kB / 2.342 GB, free: 43.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6774/5.631, allocations: 100 MB / 2.439 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.468e-06/5.632, allocations: 0 / 2.439 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001623/5.632, allocations: 40 kB / 2.439 GB, free: 220 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.008198/5.64, allocations: 2.07 MB / 2.441 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/5.64, allocations: 12.03 kB / 2.441 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/5.663, allocations: 1.889 MB / 2.443 GB, free: 216 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/5.668, allocations: 1.046 MB / 2.444 GB, free: 215 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/5.668, allocations: 148 kB / 2.444 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000651/5.669, allocations: 194.1 kB / 2.445 GB, free: 214.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/5.682, allocations: 3.061 MB / 2.448 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.995e-05/5.682, allocations: 6.625 kB / 2.448 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/5.683, allocations: 80 kB / 2.448 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/5.683, allocations: 48 kB / 2.448 GB, free: 211.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/5.705, allocations: 4.167 MB / 2.452 GB, free: 207.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/5.723, allocations: 6.753 MB / 2.458 GB, free: 200.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/5.734, allocations: 2.71 MB / 2.461 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/5.735, allocations: 0.499 MB / 2.462 GB, free: 197.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007795/5.742, allocations: 1.707 MB / 2.463 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 6.773e-06/5.743, allocations: 0 / 2.463 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.02295/5.765, allocations: 4.225 MB / 2.467 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/5.766, allocations: 257.2 kB / 2.468 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/5.768, allocations: 0.7978 MB / 2.468 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008077/5.769, allocations: 61.7 kB / 2.468 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/5.769, allocations: 0.649 MB / 2.469 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/5.771, allocations: 0.631 MB / 2.47 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005403/5.771, allocations: 32 kB / 2.47 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001913/5.772, allocations: 365.9 kB / 2.47 GB, free: 188.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006013/5.778, allocations: 1.171 MB / 2.471 GB, free: 187.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006774/5.784, allocations: 1.363 MB / 2.473 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006121/5.791, allocations: 1.219 MB / 2.474 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/5.791, allocations: 4 kB / 2.474 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01688/5.807, allocations: 2.911 MB / 2.477 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/5.808, allocations: 8 kB / 2.477 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/5.808, allocations: 0 / 2.477 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/5.809, allocations: 92.78 kB / 2.477 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005821/5.815, allocations: 0.562 MB / 2.477 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/5.817, allocations: 1.537 MB / 2.479 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/5.822, allocations: 342.3 kB / 2.479 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/5.823, allocations: 87.89 kB / 2.479 GB, free: 179.1 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.002719/5.826, allocations: 395.4 kB / 2.479 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/5.827, allocations: 134.4 kB / 2.48 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/5.846, allocations: 3.541 MB / 2.483 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/5.846, allocations: 20 kB / 2.483 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/5.846, allocations: 0 / 2.483 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.414e-05/5.846, allocations: 7.969 kB / 2.483 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/5.868, allocations: 5.757 MB / 2.489 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/5.868, allocations: 0 / 2.489 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005277/5.873, allocations: 0.5507 MB / 2.489 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007357/5.874, allocations: 88.77 kB / 2.489 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007347/5.874, allocations: 67.92 kB / 2.489 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/5.877, allocations: 1.573 MB / 2.491 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/5.877, allocations: 0 / 2.491 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/5.892, allocations: 3.06 MB / 2.494 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/5.895, allocations: 0.5452 MB / 2.494 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006718/5.895, allocations: 39.98 kB / 2.495 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004433/5.9, allocations: 267.7 kB / 2.495 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/5.9, allocations: 125.8 kB / 2.495 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003949/5.901, allocations: 83.92 kB / 2.495 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001551/5.902, allocations: 0.6735 MB / 2.496 GB, free: 162 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/5.902, allocations: 0 / 2.496 GB, free: 162 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003558/5.906, allocations: 0.6503 MB / 2.496 GB, free: 161.3 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.003132/5.909, allocations: 1.123 MB / 2.497 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01487/5.924, allocations: 2.966 MB / 2.5 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/5.924, allocations: 4 kB / 2.5 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.007883/5.932, allocations: 1.655 MB / 2.502 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/5.935, allocations: 283.9 kB / 2.502 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/5.95, allocations: 4.644 MB / 2.507 GB, free: 151 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/5.951, allocations: 1.365 MB / 2.508 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006844/5.958, allocations: 0.5622 MB / 2.509 GB, free: 149 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/5.959, allocations: 223.2 kB / 2.509 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.793e-06/5.959, allocations: 0 / 2.509 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.07376/6.033, allocations: 33.32 MB / 2.541 GB, free: 115.7 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)