Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.008024/0.008024, allocations: 170.1 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7579/0.7579, allocations: 135.2 MB / 151 MB, free: 13.82 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.502/1.502, 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.0009875/0.0009875, allocations: 96.03 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003582, allocations: 11.98 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.55/0.5504, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.523/5.073, allocations: 1.694 GB / 2.344 GB, free: 22.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/5.074, allocations: 99.94 kB / 2.344 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7089/5.782, allocations: 65.76 MB / 2.408 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.599e-06/5.782, allocations: 0 / 2.408 GB, free: 234.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001323/5.783, allocations: 31.94 kB / 2.408 GB, free: 234.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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003379/5.786, allocations: 1.235 MB / 2.41 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/5.786, allocations: 8.031 kB / 2.41 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004419/5.787, allocations: 147.7 kB / 2.41 GB, free: 233.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/5.789, allocations: 298.4 kB / 2.41 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/5.79, allocations: 0.6386 MB / 2.411 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.608e-05/5.79, allocations: 69.95 kB / 2.411 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/5.79, allocations: 88 kB / 2.411 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/5.793, allocations: 0.9956 MB / 2.412 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/5.793, allocations: 4 kB / 2.412 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/5.793, allocations: 36 kB / 2.412 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/5.793, allocations: 23.98 kB / 2.412 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/5.795, allocations: 1.237 MB / 2.413 GB, free: 230 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/5.799, allocations: 2.603 MB / 2.416 GB, free: 227.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/5.801, allocations: 0.9413 MB / 2.416 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-05/5.801, allocations: 36.69 kB / 2.417 GB, free: 226.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009039/5.802, allocations: 487.2 kB / 2.417 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 4.258e-06/5.802, allocations: 4 kB / 2.417 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.003389/5.805, allocations: 1.257 MB / 2.418 GB, free: 224.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/5.806, allocations: 244 kB / 2.418 GB, free: 224.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/5.806, allocations: 0.5932 MB / 2.419 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/5.806, allocations: 41.7 kB / 2.419 GB, free: 223.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/5.807, allocations: 396.2 kB / 2.419 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/5.807, allocations: 248.4 kB / 2.42 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/5.807, allocations: 16 kB / 2.42 GB, free: 222.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001311/5.807, allocations: 378.8 kB / 2.42 GB, free: 222.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/5.808, allocations: 277.1 kB / 2.42 GB, free: 222.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/5.808, allocations: 379.6 kB / 2.421 GB, free: 221.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006665/5.809, allocations: 311.1 kB / 2.421 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/5.809, allocations: 0 / 2.421 GB, free: 221.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001977/5.811, allocations: 0.8367 MB / 2.422 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/5.811, allocations: 9.25 kB / 2.422 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/5.811, allocations: 0 / 2.422 GB, free: 220.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006545/5.812, allocations: 84.83 kB / 2.422 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007004/5.813, allocations: 159.8 kB / 2.422 GB, free: 220.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/5.814, allocations: 1.525 MB / 2.424 GB, free: 218.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/5.815, allocations: 107.4 kB / 2.424 GB, free: 218.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/5.815, allocations: 31.92 kB / 2.424 GB, free: 218.7 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 (77): * Single equations (assignments): 76 * 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.0005912/5.816, allocations: 261.6 kB / 2.424 GB, free: 218.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/5.816, allocations: 79.02 kB / 2.424 GB, free: 218.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/5.819, allocations: 1.124 MB / 2.425 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/5.819, allocations: 15.98 kB / 2.425 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/5.819, allocations: 0 / 2.425 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/5.819, allocations: 7.984 kB / 2.425 GB, free: 217.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/5.822, allocations: 2.077 MB / 2.427 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/5.822, allocations: 11.95 kB / 2.427 GB, free: 215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/5.823, allocations: 175.7 kB / 2.427 GB, free: 214.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/5.823, allocations: 88.7 kB / 2.427 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/5.823, allocations: 19.98 kB / 2.427 GB, free: 214.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/5.825, allocations: 1.559 MB / 2.429 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/5.825, allocations: 4.031 kB / 2.429 GB, free: 213 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/5.827, allocations: 1.023 MB / 2.43 GB, free: 212 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004874/5.828, allocations: 295.7 kB / 2.43 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/5.828, allocations: 16 kB / 2.43 GB, free: 211.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006915/5.828, allocations: 87.92 kB / 2.43 GB, free: 211.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/5.829, allocations: 52.92 kB / 2.43 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.086e-05/5.829, allocations: 35.97 kB / 2.43 GB, free: 211.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006159/5.829, allocations: 491 kB / 2.431 GB, free: 211 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/5.829, allocations: 0 / 2.431 GB, free: 211 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001285/5.831, allocations: 379.1 kB / 2.431 GB, free: 210.6 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 (88): * Single equations (assignments): 85 * 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.004428/5.835, allocations: 2.545 MB / 2.434 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001935/5.837, allocations: 0.8409 MB / 2.435 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/5.837, allocations: 0 / 2.435 GB, free: 207.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/5.838, allocations: 0.547 MB / 2.435 GB, free: 206.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/5.84, allocations: 234.1 kB / 2.435 GB, free: 206.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00971/5.849, allocations: 5.391 MB / 2.441 GB, free: 201.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/5.85, allocations: 1.047 MB / 2.442 GB, free: 200.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009829/5.851, allocations: 274.2 kB / 2.442 GB, free: 199.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/5.851, allocations: 387.3 kB / 2.442 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/5.851, allocations: 4 kB / 2.442 GB, free: 199.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04934/5.901, allocations: 29.92 MB / 2.471 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/5.901, allocations: 267.2 kB / 2.472 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.301/9.202, allocations: 0 / 2.472 GB, free: 169.5 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)