Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IDEAS_dev_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.001937/0.001937, allocations: 174.6 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.239/1.239, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.242/3.242, allocations: 221.3 MB / 400.4 MB, free: 5.863 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.001516/0.001517, allocations: 96.95 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.352e-05/7.378e-05, allocations: 2.781 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3831, allocations: 82.31 MB / 0.6405 GB, free: 7.738 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.629/10.01, allocations: 1.693 GB / 2.334 GB, free: 241.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004141/10.01, allocations: 87.94 kB / 2.334 GB, free: 241.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2608/10.27, allocations: 58.26 MB / 2.391 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.176e-06/10.27, allocations: 0 / 2.391 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000127/10.27, allocations: 27.98 kB / 2.391 GB, free: 182.7 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.003495/10.28, allocations: 1.086 MB / 2.392 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.82e-05/10.28, allocations: 12.03 kB / 2.392 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002691/10.28, allocations: 131.1 kB / 2.392 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/10.28, allocations: 238.5 kB / 2.392 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/10.28, allocations: 0.6191 MB / 2.393 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.815e-05/10.28, allocations: 62 kB / 2.393 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/10.28, allocations: 84 kB / 2.393 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/10.28, allocations: 0.8703 MB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/10.28, allocations: 3.984 kB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/10.28, allocations: 36 kB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.078e-05/10.28, allocations: 31.89 kB / 2.394 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/10.29, allocations: 1.046 MB / 2.395 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008628/10.3, allocations: 2.703 MB / 2.398 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/10.3, allocations: 0.8044 MB / 2.398 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000702/10.3, allocations: 271 kB / 2.399 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/10.3, allocations: 36.78 kB / 2.399 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001187/10.3, allocations: 413.3 kB / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 5.701e-06/10.3, allocations: 4 kB / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.003107/10.3, allocations: 0.6875 MB / 2.4 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/10.3, allocations: 240.1 kB / 2.4 GB, free: 173 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001867/10.31, allocations: 0.5855 MB / 2.401 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/10.31, allocations: 37.7 kB / 2.401 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/10.31, allocations: 388.2 kB / 2.401 GB, free: 172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/10.31, allocations: 248.4 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/10.31, allocations: 12 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001915/10.31, allocations: 382.7 kB / 2.402 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/10.31, allocations: 205.5 kB / 2.402 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/10.31, allocations: 327.7 kB / 2.402 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/10.31, allocations: 254 kB / 2.402 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/10.31, allocations: 0 / 2.402 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002786/10.31, allocations: 0.711 MB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/10.31, allocations: 4.938 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/10.31, allocations: 3.938 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/10.31, allocations: 88.92 kB / 2.403 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/10.31, allocations: 143.7 kB / 2.403 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/10.32, allocations: 1.513 MB / 2.405 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/10.32, allocations: 83.33 kB / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/10.32, allocations: 31.98 kB / 2.405 GB, free: 167.8 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 (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.0003649/10.32, allocations: 148.9 kB / 2.405 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/10.32, allocations: 78.97 kB / 2.405 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/10.32, allocations: 0.9584 MB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/10.32, allocations: 12 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/10.32, allocations: 3.984 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/10.32, allocations: 3.984 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005948/10.33, allocations: 1.928 MB / 2.408 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/10.33, allocations: 0 / 2.408 GB, free: 164.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/10.33, allocations: 151.8 kB / 2.408 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007608/10.33, allocations: 84.72 kB / 2.408 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/10.33, allocations: 19.98 kB / 2.408 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/10.33, allocations: 1.563 MB / 2.41 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/10.33, allocations: 0 / 2.41 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/10.34, allocations: 0.8689 MB / 2.411 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/10.34, allocations: 287.7 kB / 2.411 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/10.34, allocations: 19.95 kB / 2.411 GB, free: 161.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/10.34, allocations: 71.94 kB / 2.411 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/10.34, allocations: 56.69 kB / 2.411 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/10.34, allocations: 31.98 kB / 2.411 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0016/10.34, allocations: 475.1 kB / 2.411 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/10.34, allocations: 4 kB / 2.411 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002808/10.34, allocations: 359.1 kB / 2.412 GB, free: 160.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 (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.007899/10.35, allocations: 2.338 MB / 2.414 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002986/10.36, allocations: 0.694 MB / 2.415 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/10.36, allocations: 4 kB / 2.415 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/10.36, allocations: 475.2 kB / 2.415 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/10.36, allocations: 246 kB / 2.415 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/10.37, allocations: 1.556 MB / 2.417 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/10.37, allocations: 1.029 MB / 2.418 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00173/10.37, allocations: 266.2 kB / 2.418 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008744/10.37, allocations: 351.3 kB / 2.419 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/10.37, allocations: 3.938 kB / 2.419 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/10.48, allocations: 31.4 MB / 2.449 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/10.48, allocations: 225.8 kB / 2.449 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.554/16.04, allocations: 8 kB / 2.449 GB, free: 122 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)