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.005405/0.005405, allocations: 169.5 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.8641/0.8641, allocations: 135.2 MB / 151 MB, free: 13.85 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.413/1.413, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.000949/0.000949, allocations: 108.4 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.65/4.014, allocations: 1.693 GB / 2.343 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/4.015, allocations: 97.58 kB / 2.343 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1279/4.142, allocations: 58.55 MB / 2.4 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.367e-06/4.143, allocations: 3.938 kB / 2.4 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.529e-05/4.143, allocations: 23.53 kB / 2.4 GB, free: 180.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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002136/4.145, allocations: 1.202 MB / 2.401 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/4.145, allocations: 7.75 kB / 2.401 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/4.145, allocations: 135.6 kB / 2.402 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/4.146, allocations: 239.5 kB / 2.402 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/4.147, allocations: 0.6221 MB / 2.402 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/4.147, allocations: 70.44 kB / 2.403 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/4.147, allocations: 79.88 kB / 2.403 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/4.149, allocations: 0.9229 MB / 2.403 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/4.149, allocations: 0 / 2.403 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/4.149, allocations: 32.47 kB / 2.404 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/4.149, allocations: 23.48 kB / 2.404 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/4.15, allocations: 1.139 MB / 2.405 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/4.153, allocations: 2.695 MB / 2.407 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/4.155, allocations: 0.8877 MB / 2.408 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/4.155, allocations: 32.3 kB / 2.408 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006235/4.156, allocations: 433 kB / 2.409 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 2.174e-06/4.156, allocations: 0 / 2.409 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.002684/4.158, allocations: 1.101 MB / 2.41 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.593e-05/4.158, allocations: 247 kB / 2.41 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000706/4.159, allocations: 0.5875 MB / 2.41 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/4.159, allocations: 41.27 kB / 2.411 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/4.159, allocations: 379.4 kB / 2.411 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/4.16, allocations: 250.4 kB / 2.411 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/4.16, allocations: 12.19 kB / 2.411 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001155/4.16, allocations: 382.4 kB / 2.412 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/4.16, allocations: 227.9 kB / 2.412 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/4.161, allocations: 351 kB / 2.412 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/4.161, allocations: 275.6 kB / 2.412 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/4.161, allocations: 0 / 2.412 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001558/4.163, allocations: 0.7513 MB / 2.413 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/4.163, allocations: 3.906 kB / 2.413 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/4.163, allocations: 0 / 2.413 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/4.163, allocations: 86.09 kB / 2.413 GB, free: 174.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005873/4.164, allocations: 148.6 kB / 2.413 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/4.166, allocations: 1.531 MB / 2.415 GB, free: 173 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/4.166, allocations: 89.09 kB / 2.415 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/4.166, allocations: 30.58 kB / 2.415 GB, free: 172.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.0004257/4.167, allocations: 250.1 kB / 2.415 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/4.167, allocations: 82.09 kB / 2.415 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/4.169, allocations: 1.015 MB / 2.416 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/4.169, allocations: 7.812 kB / 2.416 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/4.169, allocations: 0 / 2.416 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/4.169, allocations: 3.984 kB / 2.416 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/4.172, allocations: 1.989 MB / 2.418 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/4.172, allocations: 0 / 2.418 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/4.172, allocations: 144.7 kB / 2.418 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/4.173, allocations: 86.33 kB / 2.418 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/4.173, allocations: 25.42 kB / 2.418 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/4.174, allocations: 1.558 MB / 2.42 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/4.174, allocations: 0 / 2.42 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/4.176, allocations: 0.9245 MB / 2.421 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/4.177, allocations: 284.3 kB / 2.421 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/4.177, allocations: 22.17 kB / 2.421 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/4.177, allocations: 69.5 kB / 2.421 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/4.177, allocations: 62 kB / 2.421 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/4.177, allocations: 30.67 kB / 2.421 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005724/4.178, allocations: 482.9 kB / 2.422 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/4.178, allocations: 0 / 2.422 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001136/4.179, allocations: 357 kB / 2.422 GB, free: 169.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) * 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.003521/4.183, allocations: 2.44 MB / 2.424 GB, free: 168.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00137/4.184, allocations: 0.7401 MB / 2.425 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/4.184, allocations: 3.188 kB / 2.425 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000741/4.185, allocations: 499.6 kB / 2.426 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/4.186, allocations: 252.6 kB / 2.426 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/4.195, allocations: 5.531 MB / 2.431 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/4.195, allocations: 1.018 MB / 2.432 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009247/4.196, allocations: 266.8 kB / 2.433 GB, free: 163.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/4.197, allocations: 358.5 kB / 2.433 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of SimCode: time 7.62e-07/4.197, allocations: 0 / 2.433 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/4.245, allocations: 29.72 MB / 2.462 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/4.245, allocations: 250.8 kB / 2.462 GB, free: 142 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/7.322, allocations: 0 / 2.462 GB, free: 142 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)