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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009914/0.009914, allocations: 170.8 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.8617/0.8617, allocations: 135.2 MB / 151 MB, free: 13.81 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.59/1.59, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0009662/0.0009662, allocations: 90.73 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3952, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.322/4.717, allocations: 1.698 GB / 2.348 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/4.718, allocations: 101 kB / 2.348 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7619/5.48, allocations: 100 MB / 2.445 GB, free: 197 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.188e-06/5.48, allocations: 0 / 2.445 GB, free: 197 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001963/5.48, allocations: 44 kB / 2.445 GB, free: 196.9 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.006902/5.487, allocations: 2.067 MB / 2.447 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/5.487, allocations: 8.031 kB / 2.447 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009587/5.488, allocations: 282.9 kB / 2.448 GB, free: 194.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/5.501, allocations: 1.889 MB / 2.45 GB, free: 192.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/5.504, allocations: 1.06 MB / 2.451 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/5.505, allocations: 148 kB / 2.451 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006839/5.505, allocations: 192 kB / 2.451 GB, free: 191.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007727/5.513, allocations: 3.062 MB / 2.454 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/5.513, allocations: 3.938 kB / 2.454 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/5.513, allocations: 80 kB / 2.454 GB, free: 188 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/5.513, allocations: 48 kB / 2.454 GB, free: 188 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01128/5.525, allocations: 4.164 MB / 2.458 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/5.539, allocations: 6.754 MB / 2.465 GB, free: 177 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007216/5.546, allocations: 2.696 MB / 2.467 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/5.547, allocations: 0.5035 MB / 2.468 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004158/5.551, allocations: 1.703 MB / 2.469 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 4.539e-06/5.551, allocations: 0 / 2.469 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.01276/5.564, allocations: 4.222 MB / 2.474 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/5.564, allocations: 257.3 kB / 2.474 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/5.566, allocations: 0.8057 MB / 2.475 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003155/5.566, allocations: 61.7 kB / 2.475 GB, free: 166.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/5.567, allocations: 0.6414 MB / 2.475 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/5.567, allocations: 0.6351 MB / 2.476 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/5.568, allocations: 36 kB / 2.476 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/5.568, allocations: 361.9 kB / 2.476 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003716/5.571, allocations: 1.179 MB / 2.477 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003791/5.575, allocations: 1.36 MB / 2.479 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/5.579, allocations: 1.22 MB / 2.48 GB, free: 161 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/5.579, allocations: 0 / 2.48 GB, free: 161 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008658/5.588, allocations: 2.917 MB / 2.483 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/5.588, allocations: 13.16 kB / 2.483 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/5.588, allocations: 0 / 2.483 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/5.588, allocations: 92.78 kB / 2.483 GB, free: 158 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/5.592, allocations: 0.5656 MB / 2.484 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/5.594, allocations: 1.541 MB / 2.485 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/5.597, allocations: 334.3 kB / 2.485 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/5.597, allocations: 91.89 kB / 2.485 GB, free: 155.3 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.001082/5.598, allocations: 385.5 kB / 2.486 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/5.598, allocations: 142.3 kB / 2.486 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009991/5.608, allocations: 3.523 MB / 2.489 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/5.609, allocations: 24 kB / 2.489 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/5.609, allocations: 0 / 2.489 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/5.609, allocations: 7.969 kB / 2.489 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/5.622, allocations: 5.754 MB / 2.495 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/5.622, allocations: 0 / 2.495 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/5.625, allocations: 0.55 MB / 2.496 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/5.626, allocations: 88.77 kB / 2.496 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/5.626, allocations: 67.92 kB / 2.496 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/5.628, allocations: 1.575 MB / 2.497 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/5.628, allocations: 0 / 2.497 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009238/5.637, allocations: 3.063 MB / 2.5 GB, free: 139.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/5.638, allocations: 0.5452 MB / 2.501 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/5.639, allocations: 36 kB / 2.501 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002957/5.642, allocations: 263.7 kB / 2.501 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002814/5.642, allocations: 129.8 kB / 2.501 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002247/5.642, allocations: 79.92 kB / 2.501 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001258/5.644, allocations: 0.6735 MB / 2.502 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/5.644, allocations: 0 / 2.502 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002907/5.647, allocations: 0.6544 MB / 2.503 GB, free: 137.5 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.01249/5.659, allocations: 4.648 MB / 2.507 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009697/5.669, allocations: 2.96 MB / 2.51 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/5.669, allocations: 4.062 kB / 2.51 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005339/5.674, allocations: 1.661 MB / 2.512 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/5.677, allocations: 283.7 kB / 2.512 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03342/5.71, allocations: 12.44 MB / 2.524 GB, free: 115.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/5.712, allocations: 1.38 MB / 2.525 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00521/5.717, allocations: 0.5584 MB / 2.526 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/5.719, allocations: 0.7608 MB / 2.527 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.254e-06/5.719, allocations: 0 / 2.527 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09695/5.816, allocations: 47.63 MB / 2.573 GB, free: 65.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/5.817, allocations: 268.7 kB / 2.573 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/9.866, allocations: 0 / 2.573 GB, free: 64.91 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)