Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.007547/0.007548, allocations: 172.2 kB / 15.12 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.7562/0.7562, 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.429/1.429, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.0009637/0.0009637, allocations: 104.6 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.454, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.995/4.449, allocations: 1.693 GB / 2.343 GB, free: 23.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/4.449, allocations: 99.31 kB / 2.343 GB, free: 23.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6121/5.061, allocations: 58.56 MB / 2.4 GB, free: 242 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.845e-06/5.061, allocations: 0 / 2.4 GB, free: 242 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001226/5.061, allocations: 19.34 kB / 2.4 GB, free: 242 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003355/5.065, allocations: 1.201 MB / 2.401 GB, free: 241 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/5.065, allocations: 7.719 kB / 2.401 GB, free: 241 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000383/5.065, allocations: 142.2 kB / 2.402 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/5.067, allocations: 245.1 kB / 2.402 GB, free: 240.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/5.068, allocations: 0.6228 MB / 2.402 GB, free: 240 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/5.068, allocations: 62 kB / 2.403 GB, free: 240 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/5.068, allocations: 80 kB / 2.403 GB, free: 239.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/5.07, allocations: 0.9208 MB / 2.403 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/5.07, allocations: 0 / 2.403 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/5.07, allocations: 36 kB / 2.404 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/5.07, allocations: 24 kB / 2.404 GB, free: 238.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/5.072, allocations: 1.132 MB / 2.405 GB, free: 237.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/5.076, allocations: 2.698 MB / 2.407 GB, free: 235 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/5.077, allocations: 0.8742 MB / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.123e-05/5.077, allocations: 33.39 kB / 2.408 GB, free: 234.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006799/5.078, allocations: 427.3 kB / 2.409 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 3.016e-06/5.078, allocations: 7.938 kB / 2.409 GB, free: 233.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.002839/5.081, allocations: 1.105 MB / 2.41 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/5.081, allocations: 243.8 kB / 2.41 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008157/5.082, allocations: 0.5854 MB / 2.41 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-05/5.082, allocations: 41.7 kB / 2.411 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/5.082, allocations: 388.2 kB / 2.411 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/5.082, allocations: 244.3 kB / 2.411 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/5.083, allocations: 19.94 kB / 2.411 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001253/5.083, allocations: 378.8 kB / 2.412 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003977/5.083, allocations: 221.2 kB / 2.412 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/5.084, allocations: 354.2 kB / 2.412 GB, free: 229.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/5.084, allocations: 275.1 kB / 2.412 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/5.084, allocations: 0 / 2.412 GB, free: 229.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001648/5.086, allocations: 0.7431 MB / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/5.086, allocations: 8.156 kB / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/5.086, allocations: 11.92 kB / 2.413 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/5.086, allocations: 80.78 kB / 2.413 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/5.087, allocations: 143.8 kB / 2.413 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/5.089, allocations: 1.537 MB / 2.415 GB, free: 227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/5.09, allocations: 91.23 kB / 2.415 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/5.09, allocations: 27.98 kB / 2.415 GB, free: 226.9 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 (79): * Single equations (assignments): 78 * 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.0007124/5.091, allocations: 257.5 kB / 2.415 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/5.091, allocations: 79.06 kB / 2.415 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/5.094, allocations: 1.01 MB / 2.416 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/5.094, allocations: 8 kB / 2.416 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/5.094, allocations: 0 / 2.416 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/5.094, allocations: 7.938 kB / 2.416 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003872/5.098, allocations: 1.977 MB / 2.418 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/5.098, allocations: 0 / 2.418 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/5.098, allocations: 147.8 kB / 2.418 GB, free: 223.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/5.099, allocations: 84.77 kB / 2.418 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-05/5.099, allocations: 19.98 kB / 2.418 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/5.1, allocations: 1.56 MB / 2.42 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/5.1, allocations: 8 kB / 2.42 GB, free: 221.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/5.102, allocations: 0.9178 MB / 2.421 GB, free: 220.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005402/5.103, allocations: 283.7 kB / 2.421 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/5.103, allocations: 20 kB / 2.421 GB, free: 220.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/5.104, allocations: 63.94 kB / 2.421 GB, free: 220.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/5.104, allocations: 68.84 kB / 2.421 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.288e-05/5.104, allocations: 31.98 kB / 2.421 GB, free: 220.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007107/5.105, allocations: 483 kB / 2.422 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.105, allocations: 4 kB / 2.422 GB, free: 219.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001378/5.106, allocations: 370.8 kB / 2.422 GB, free: 219.3 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 (86): * Single equations (assignments): 83 * 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.004177/5.11, allocations: 2.432 MB / 2.424 GB, free: 217.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001431/5.112, allocations: 0.7396 MB / 2.425 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/5.112, allocations: 0 / 2.425 GB, free: 216.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/5.112, allocations: 0.4925 MB / 2.426 GB, free: 215.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/5.114, allocations: 248.1 kB / 2.426 GB, free: 215.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/5.123, allocations: 5.521 MB / 2.431 GB, free: 210 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/5.123, allocations: 1.027 MB / 2.432 GB, free: 209 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009369/5.124, allocations: 266.2 kB / 2.433 GB, free: 208.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/5.125, allocations: 355.3 kB / 2.433 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/5.125, allocations: 0 / 2.433 GB, free: 208.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/5.176, allocations: 29.71 MB / 2.462 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/5.176, allocations: 254.3 kB / 2.462 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/8.319, allocations: 0 / 2.462 GB, free: 178.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)