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.001314/0.001314, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.042/3.042, allocations: 221.3 MB / 400.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 102.7 kB / 483.3 MB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.13e-05/7.134e-05, allocations: 10.8 kB / 0.5601 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3254, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.712/10.04, allocations: 1.698 GB / 2.339 GB, free: 244.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005838/10.04, allocations: 87.95 kB / 2.339 GB, free: 244.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.432/10.47, allocations: 99.67 MB / 2.436 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.789e-06/10.47, allocations: 0 / 2.436 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003328/10.47, allocations: 47.94 kB / 2.436 GB, free: 144.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.0109/10.48, allocations: 1.924 MB / 2.438 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.586e-05/10.48, allocations: 8.031 kB / 2.438 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001366/10.48, allocations: 282.9 kB / 2.438 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02323/10.51, allocations: 1.882 MB / 2.44 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005288/10.51, allocations: 1.056 MB / 2.441 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/10.51, allocations: 152 kB / 2.441 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/10.51, allocations: 192 kB / 2.441 GB, free: 139 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009377/10.52, allocations: 2.442 MB / 2.444 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/10.52, allocations: 7.938 kB / 2.444 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004861/10.52, allocations: 87.92 kB / 2.444 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.088e-05/10.52, allocations: 48 kB / 2.444 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/10.53, allocations: 2.963 MB / 2.447 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03312/10.57, allocations: 6.741 MB / 2.453 GB, free: 126.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006178/10.57, allocations: 1.997 MB / 2.455 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003106/10.58, allocations: 1.064 MB / 2.456 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/10.58, allocations: 0.4996 MB / 2.457 GB, free: 123 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003983/10.58, allocations: 1.328 MB / 2.458 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 4.112e-05/10.58, allocations: 0 / 2.458 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.008382/10.59, allocations: 2.105 MB / 2.46 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/10.59, allocations: 261.3 kB / 2.46 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/10.59, allocations: 0.7902 MB / 2.461 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/10.59, allocations: 57.7 kB / 2.461 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009315/10.6, allocations: 0.6375 MB / 2.462 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009681/10.6, allocations: 0.6352 MB / 2.463 GB, free: 117 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002499/10.6, allocations: 32 kB / 2.463 GB, free: 117 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001884/10.6, allocations: 369.9 kB / 2.463 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/10.6, allocations: 0.7968 MB / 2.464 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/10.6, allocations: 0.9853 MB / 2.465 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/10.61, allocations: 0.8414 MB / 2.465 GB, free: 114 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/10.61, allocations: 0 / 2.465 GB, free: 114 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.008116/10.61, allocations: 2.16 MB / 2.468 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/10.61, allocations: 4 kB / 2.468 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/10.61, allocations: 4 kB / 2.468 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/10.61, allocations: 88.83 kB / 2.468 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006703/10.62, allocations: 0.5656 MB / 2.468 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/10.62, allocations: 1.528 MB / 2.47 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006165/10.63, allocations: 346.3 kB / 2.47 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009854/10.63, allocations: 87.91 kB / 2.47 GB, free: 109 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.0008739/10.63, allocations: 199.5 kB / 2.47 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008615/10.63, allocations: 138.2 kB / 2.47 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/10.65, allocations: 2.77 MB / 2.473 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/10.65, allocations: 20 kB / 2.473 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/10.65, allocations: 0 / 2.473 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/10.65, allocations: 11.95 kB / 2.473 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/10.66, allocations: 5.003 MB / 2.478 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/10.66, allocations: 0 / 2.478 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006616/10.67, allocations: 0.5461 MB / 2.479 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001002/10.67, allocations: 88.77 kB / 2.479 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000699/10.67, allocations: 67.92 kB / 2.479 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/10.67, allocations: 1.56 MB / 2.48 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/10.67, allocations: 0 / 2.48 GB, free: 98.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009265/10.68, allocations: 2.31 MB / 2.483 GB, free: 96.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/10.68, allocations: 0.5413 MB / 2.483 GB, free: 95.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/10.68, allocations: 43.94 kB / 2.483 GB, free: 95.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/10.69, allocations: 263.7 kB / 2.483 GB, free: 95.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/10.69, allocations: 125.8 kB / 2.483 GB, free: 95.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003653/10.69, allocations: 83.92 kB / 2.484 GB, free: 95.01 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001715/10.69, allocations: 0.6625 MB / 2.484 GB, free: 94.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/10.69, allocations: 8 kB / 2.484 GB, free: 94.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003975/10.7, allocations: 0.6428 MB / 2.485 GB, free: 93.68 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.01244/10.71, allocations: 3.83 MB / 2.489 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008629/10.72, allocations: 2.215 MB / 2.491 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/10.72, allocations: 0 / 2.491 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/10.72, allocations: 1.287 MB / 2.492 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/10.73, allocations: 285 kB / 2.492 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/10.74, allocations: 3.204 MB / 2.495 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/10.74, allocations: 1.37 MB / 2.497 GB, free: 81.51 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.007794/10.75, allocations: 0.5584 MB / 2.497 GB, free: 80.95 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003518/10.75, allocations: 0.7569 MB / 2.498 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of SimCode: time 3.126e-06/10.75, allocations: 0 / 2.498 GB, free: 80.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1695/10.92, allocations: 49.64 MB / 2.546 GB, free: 30.76 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/10.92, allocations: 234.2 kB / 2.547 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/17.46, allocations: 0 / 2.547 GB, free: 30.45 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)