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.001568/0.001568, allocations: 171 kB / 7.646 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7534/0.7534, allocations: 130.7 MB / 138.7 MB, free: 3.523 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.595/1.595, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0008946/0.0008947, allocations: 100.6 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.507e-05/2.511e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5856, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.489/6.075, allocations: 1.697 GB / 2.325 GB, free: 180 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.075, allocations: 89.81 kB / 2.325 GB, free: 180 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2266/6.302, allocations: 98.74 MB / 2.422 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.324e-06/6.302, allocations: 4 kB / 2.422 GB, free: 126.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001719/6.302, allocations: 47.94 kB / 2.422 GB, free: 126.1 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.006045/6.308, allocations: 1.908 MB / 2.424 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/6.308, allocations: 16.02 kB / 2.424 GB, free: 124.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/6.321, allocations: 1.886 MB / 2.426 GB, free: 122.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00319/6.324, allocations: 1.052 MB / 2.427 GB, free: 121.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.622e-05/6.324, allocations: 68 kB / 2.427 GB, free: 121 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004622/6.325, allocations: 112 kB / 2.427 GB, free: 120.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00507/6.33, allocations: 2.858 MB / 2.43 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/6.334, allocations: 2.173 MB / 2.432 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/6.334, allocations: 0 / 2.432 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002242/6.334, allocations: 0 / 2.432 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/6.334, allocations: 48 kB / 2.432 GB, free: 115.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/6.348, allocations: 6.386 MB / 2.438 GB, free: 109.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/6.351, allocations: 1.892 MB / 2.44 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/6.352, allocations: 1.017 MB / 2.441 GB, free: 106.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/6.353, allocations: 0.4955 MB / 2.441 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001867/6.354, allocations: 1.27 MB / 2.443 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=195): time 5.911e-06/6.354, allocations: 4 kB / 2.443 GB, free: 104.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=195): time 0.01325/6.368, allocations: 3.655 MB / 2.446 GB, free: 100.9 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/6.368, allocations: 253.3 kB / 2.446 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/6.369, allocations: 0.6409 MB / 2.447 GB, free: 99.94 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002458/6.369, allocations: 25.7 kB / 2.447 GB, free: 99.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006921/6.37, allocations: 0.6488 MB / 2.448 GB, free: 99.25 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000549/6.371, allocations: 0.6002 MB / 2.448 GB, free: 98.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/6.371, allocations: 0 / 2.448 GB, free: 98.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001874/6.371, allocations: 426.7 kB / 2.449 GB, free: 98.21 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001186/6.372, allocations: 0.7655 MB / 2.449 GB, free: 97.45 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/6.373, allocations: 0.9427 MB / 2.45 GB, free: 96.47 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009001/6.382, allocations: 2.461 MB / 2.453 GB, free: 94.01 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/6.382, allocations: 0 / 2.453 GB, free: 94.01 MB / 0.6667 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01245/6.395, allocations: 3.683 MB / 2.456 GB, free: 90.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/6.395, allocations: 8 kB / 2.456 GB, free: 90.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/6.395, allocations: 0 / 2.456 GB, free: 90.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/6.396, allocations: 88.83 kB / 2.456 GB, free: 90.22 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/6.399, allocations: 0.5695 MB / 2.457 GB, free: 89.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/6.401, allocations: 1.453 MB / 2.458 GB, free: 88.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/6.403, allocations: 298.5 kB / 2.459 GB, free: 87.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/6.404, allocations: 87.89 kB / 2.459 GB, free: 87.69 MB / 0.6667 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 () * 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.0004422/6.404, allocations: 134.9 kB / 2.459 GB, free: 87.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/6.404, allocations: 130.4 kB / 2.459 GB, free: 87.42 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/6.417, allocations: 4.259 MB / 2.463 GB, free: 83.14 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/6.418, allocations: 20 kB / 2.463 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/6.418, allocations: 0 / 2.463 GB, free: 83.12 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/6.418, allocations: 7.969 kB / 2.463 GB, free: 83.11 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/6.433, allocations: 6.27 MB / 2.469 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/6.433, allocations: 0 / 2.469 GB, free: 76.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/6.436, allocations: 0.5539 MB / 2.47 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/6.436, allocations: 84.78 kB / 2.47 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001828/6.437, allocations: 51.91 kB / 2.47 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/6.438, allocations: 1.473 MB / 2.471 GB, free: 74.51 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/6.438, allocations: 0 / 2.471 GB, free: 74.51 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/6.45, allocations: 3.835 MB / 2.475 GB, free: 70.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/6.45, allocations: 0.5298 MB / 2.476 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/6.451, allocations: 4 kB / 2.476 GB, free: 70.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/6.453, allocations: 239.6 kB / 2.476 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/6.453, allocations: 126 kB / 2.476 GB, free: 69.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/6.454, allocations: 87.91 kB / 2.476 GB, free: 69.65 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000671/6.454, allocations: 0.5304 MB / 2.477 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.2e-07/6.454, allocations: 0 / 2.477 GB, free: 69.12 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001955/6.456, allocations: 0.5994 MB / 2.477 GB, free: 68.52 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 (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.001983/6.458, allocations: 1.107 MB / 2.478 GB, free: 67.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003097/6.461, allocations: 2.128 MB / 2.48 GB, free: 65.38 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/6.461, allocations: 0 / 2.48 GB, free: 65.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/6.463, allocations: 1.232 MB / 2.482 GB, free: 64.14 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/6.464, allocations: 237.4 kB / 2.482 GB, free: 63.92 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/6.47, allocations: 2.718 MB / 2.484 GB, free: 61.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007483/6.471, allocations: 1.375 MB / 2.486 GB, free: 59.76 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003607/6.474, allocations: 0.546 MB / 2.486 GB, free: 59.21 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008956/6.475, allocations: 211.2 kB / 2.487 GB, free: 59 MB / 0.6667 GB Notification: Performance of SimCode: time 1.313e-06/6.475, allocations: 4 kB / 2.487 GB, free: 59 MB / 0.6667 GB Notification: Performance of Templates: time 0.04157/6.517, allocations: 28.02 MB / 2.514 GB, free: 31.05 MB / 0.6667 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)