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.001496/0.001496, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8025/0.8025, allocations: 133.6 MB / 141.6 MB, free: 2.926 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.433/1.433, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001018/0.001018, allocations: 111.7 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.007e-05, allocations: 3.938 kB / 0.5535 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4758, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.266/4.742, allocations: 1.697 GB / 2.331 GB, free: 39.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/4.742, allocations: 89.75 kB / 2.331 GB, free: 39.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6571/5.4, allocations: 98.75 MB / 2.428 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.524e-06/5.4, allocations: 0 / 2.428 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001425/5.4, allocations: 44 kB / 2.428 GB, free: 223.4 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.005511/5.405, allocations: 1.928 MB / 2.43 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/5.405, allocations: 12.03 kB / 2.43 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/5.418, allocations: 1.883 MB / 2.432 GB, free: 219.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/5.421, allocations: 1.048 MB / 2.433 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/5.421, allocations: 64 kB / 2.433 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001025/5.422, allocations: 112 kB / 2.433 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00603/5.428, allocations: 2.86 MB / 2.436 GB, free: 216.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/5.433, allocations: 2.17 MB / 2.438 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/5.433, allocations: 4 kB / 2.438 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/5.433, allocations: 0 / 2.438 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/5.433, allocations: 49.88 kB / 2.438 GB, free: 214 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/5.447, allocations: 6.393 MB / 2.444 GB, free: 207.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/5.45, allocations: 1.893 MB / 2.446 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/5.451, allocations: 1.001 MB / 2.447 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/5.452, allocations: 0.5097 MB / 2.447 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001866/5.454, allocations: 1.259 MB / 2.449 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 6.682e-06/5.454, allocations: 0 / 2.449 GB, free: 202.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.01242/5.466, allocations: 3.656 MB / 2.452 GB, free: 199.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/5.466, allocations: 253.3 kB / 2.452 GB, free: 199 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/5.467, allocations: 0.6438 MB / 2.453 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002811/5.467, allocations: 25.7 kB / 2.453 GB, free: 198.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004405/5.468, allocations: 0.6527 MB / 2.454 GB, free: 197.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/5.468, allocations: 0.6041 MB / 2.454 GB, free: 197 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/5.469, allocations: 3.938 kB / 2.454 GB, free: 197 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001459/5.469, allocations: 426.7 kB / 2.455 GB, free: 196.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/5.47, allocations: 0.7655 MB / 2.455 GB, free: 195.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/5.471, allocations: 0.9501 MB / 2.456 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009367/5.48, allocations: 2.453 MB / 2.459 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/5.48, allocations: 0 / 2.459 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01241/5.493, allocations: 3.681 MB / 2.462 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/5.493, allocations: 8 kB / 2.462 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/5.493, allocations: 0 / 2.462 GB, free: 188.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006444/5.494, allocations: 88.83 kB / 2.462 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/5.497, allocations: 0.5661 MB / 2.463 GB, free: 188.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/5.499, allocations: 1.461 MB / 2.464 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/5.503, allocations: 294.5 kB / 2.465 GB, free: 186.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/5.503, allocations: 87.89 kB / 2.465 GB, free: 186.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 () * 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.0005005/5.504, allocations: 135.1 kB / 2.465 GB, free: 186 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01237/5.516, allocations: 3.639 MB / 2.468 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/5.517, allocations: 134.4 kB / 2.469 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/5.531, allocations: 4.259 MB / 2.473 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/5.531, allocations: 20 kB / 2.473 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/5.531, allocations: 4 kB / 2.473 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/5.531, allocations: 7.969 kB / 2.473 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/5.547, allocations: 6.265 MB / 2.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/5.547, allocations: 4 kB / 2.479 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003623/5.551, allocations: 0.5507 MB / 2.479 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/5.551, allocations: 84.78 kB / 2.479 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004363/5.552, allocations: 43.92 kB / 2.48 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/5.553, allocations: 1.479 MB / 2.481 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/5.553, allocations: 4.062 kB / 2.481 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/5.565, allocations: 3.838 MB / 2.485 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/5.567, allocations: 0.5336 MB / 2.485 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003574/5.567, allocations: 0 / 2.485 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/5.57, allocations: 235.8 kB / 2.485 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/5.57, allocations: 133.2 kB / 2.486 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/5.57, allocations: 79.92 kB / 2.486 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000701/5.571, allocations: 0.5343 MB / 2.486 GB, free: 164 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/5.571, allocations: 4 kB / 2.486 GB, free: 164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001986/5.573, allocations: 0.5837 MB / 2.487 GB, free: 163.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) * 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.01423/5.587, allocations: 5.417 MB / 2.492 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003956/5.591, allocations: 2.119 MB / 2.494 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/5.591, allocations: 0 / 2.494 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/5.593, allocations: 1.236 MB / 2.495 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/5.595, allocations: 240 kB / 2.496 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/5.603, allocations: 3.018 MB / 2.499 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/5.603, allocations: 1.37 MB / 2.5 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003589/5.607, allocations: 0.5421 MB / 2.5 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/5.609, allocations: 0.7686 MB / 2.501 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/5.609, allocations: 0 / 2.501 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07704/5.686, allocations: 40.93 MB / 2.541 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/5.686, allocations: 186.8 kB / 2.541 GB, free: 108 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.332/9.018, allocations: 2.375 kB / 2.541 GB, free: 108 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)