Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.00602/0.00602, allocations: 170.1 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.7878/0.7878, allocations: 135.2 MB / 151 MB, free: 13.83 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.636/1.636, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001083/0.001083, allocations: 96.75 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005102, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5016/0.5021, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.37/4.872, allocations: 1.694 GB / 2.344 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/4.872, allocations: 95.94 kB / 2.344 GB, free: 21.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6504/5.523, allocations: 68.38 MB / 2.411 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.927e-06/5.523, allocations: 0 / 2.411 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001335/5.523, allocations: 27.94 kB / 2.411 GB, free: 231.8 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00327/5.526, allocations: 1.239 MB / 2.412 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/5.526, allocations: 8.031 kB / 2.412 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003727/5.527, allocations: 139.6 kB / 2.412 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/5.528, allocations: 214.5 kB / 2.412 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/5.53, allocations: 0.6347 MB / 2.413 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/5.53, allocations: 66 kB / 2.413 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/5.53, allocations: 88 kB / 2.413 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/5.532, allocations: 0.9496 MB / 2.414 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/5.532, allocations: 0 / 2.414 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/5.532, allocations: 40 kB / 2.414 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/5.532, allocations: 20 kB / 2.414 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/5.534, allocations: 1.139 MB / 2.415 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/5.538, allocations: 2.59 MB / 2.418 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/5.539, allocations: 0.8365 MB / 2.419 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/5.54, allocations: 474.1 kB / 2.419 GB, free: 223 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000724/5.541, allocations: 439.1 kB / 2.419 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.918e-06/5.541, allocations: 0 / 2.419 GB, free: 222.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.003029/5.544, allocations: 1.129 MB / 2.421 GB, free: 221.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/5.544, allocations: 240 kB / 2.421 GB, free: 221.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/5.545, allocations: 0.5972 MB / 2.421 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/5.545, allocations: 41.7 kB / 2.421 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/5.545, allocations: 408.1 kB / 2.422 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/5.546, allocations: 232.6 kB / 2.422 GB, free: 219.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/5.546, allocations: 12 kB / 2.422 GB, free: 219.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001279/5.546, allocations: 382.8 kB / 2.422 GB, free: 219.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/5.546, allocations: 225.2 kB / 2.423 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/5.547, allocations: 327.6 kB / 2.423 GB, free: 218.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/5.547, allocations: 283.1 kB / 2.423 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/5.547, allocations: 0 / 2.423 GB, free: 218.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001747/5.549, allocations: 0.7315 MB / 2.424 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/5.549, allocations: 11.95 kB / 2.424 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/5.549, allocations: 0 / 2.424 GB, free: 217.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/5.55, allocations: 84.83 kB / 2.424 GB, free: 217.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/5.55, allocations: 135.8 kB / 2.424 GB, free: 217.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/5.552, allocations: 1.54 MB / 2.426 GB, free: 216 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/5.553, allocations: 83.67 kB / 2.426 GB, free: 215.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/5.553, allocations: 24.06 kB / 2.426 GB, free: 215.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (75): * Single equations (assignments): 74 * 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.0006249/5.554, allocations: 268.3 kB / 2.426 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/5.554, allocations: 79.02 kB / 2.426 GB, free: 215.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/5.556, allocations: 1.021 MB / 2.427 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/5.556, allocations: 8 kB / 2.427 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/5.556, allocations: 0 / 2.427 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/5.556, allocations: 11.92 kB / 2.427 GB, free: 214.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/5.56, allocations: 1.938 MB / 2.429 GB, free: 212.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/5.56, allocations: 7.875 kB / 2.429 GB, free: 212.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006125/5.56, allocations: 147.8 kB / 2.429 GB, free: 212.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/5.561, allocations: 88.67 kB / 2.429 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.288e-05/5.561, allocations: 23.98 kB / 2.429 GB, free: 212.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/5.563, allocations: 1.552 MB / 2.431 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/5.563, allocations: 0 / 2.431 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/5.565, allocations: 0.9336 MB / 2.432 GB, free: 209.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/5.565, allocations: 283.7 kB / 2.432 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/5.565, allocations: 20 kB / 2.432 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/5.566, allocations: 67.94 kB / 2.432 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/5.566, allocations: 64.91 kB / 2.432 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/5.566, allocations: 27.98 kB / 2.432 GB, free: 209.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007307/5.567, allocations: 487 kB / 2.433 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/5.567, allocations: 4 kB / 2.433 GB, free: 208.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001559/5.569, allocations: 387 kB / 2.433 GB, free: 208.2 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 (84): * Single equations (assignments): 81 * 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.004874/5.574, allocations: 2.465 MB / 2.435 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001847/5.576, allocations: 0.7433 MB / 2.436 GB, free: 205.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/5.576, allocations: 8.109 kB / 2.436 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009467/5.576, allocations: 0.4885 MB / 2.437 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/5.578, allocations: 241.5 kB / 2.437 GB, free: 204.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/5.589, allocations: 5.177 MB / 2.442 GB, free: 199.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/5.59, allocations: 1.039 MB / 2.443 GB, free: 198.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001096/5.591, allocations: 266.2 kB / 2.443 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/5.592, allocations: 371.3 kB / 2.443 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.543e-06/5.592, allocations: 0 / 2.443 GB, free: 197.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06129/5.653, allocations: 29.72 MB / 2.473 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/5.653, allocations: 277.6 kB / 2.473 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/8.859, allocations: 3.625 kB / 2.473 GB, free: 167.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)