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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 11.94 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 82.31 MB / 0.5875 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004078/0.1441, allocations: 3.584 MB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3918/0.5359, allocations: 136.7 MB / 0.7245 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.5364, allocations: 19.22 kB / 0.7245 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004281/0.5368, allocations: 123 kB / 0.7246 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.5379, allocations: 402.6 kB / 0.725 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.5396, allocations: 0.6104 MB / 0.7256 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.5408, allocations: 1.054 MB / 0.7266 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.5415, allocations: 485.2 kB / 0.7271 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004859/0.542, allocations: 301.4 kB / 0.7274 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004413/0.5424, allocations: 326.2 kB / 0.7277 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.381e-05/0.5425, allocations: 20.53 kB / 0.7277 GB, free: 5.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.5433, allocations: 334.6 kB / 0.728 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002034/0.5435, allocations: 166.6 kB / 0.7282 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.5437, allocations: 176.9 kB / 0.7283 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.545, allocations: 1.08 MB / 0.7294 GB, free: 5.219 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.545, allocations: 5.25 kB / 0.7294 GB, free: 5.215 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.545, allocations: 0 / 0.7294 GB, free: 5.215 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.5451, allocations: 0 / 0.7294 GB, free: 5.215 MB / 0.545 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.001873/0.5469, allocations: 1.16 MB / 0.7305 GB, free: 4.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.547, allocations: 11.09 kB / 0.7305 GB, free: 4.402 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.5472, allocations: 130.8 kB / 0.7307 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.5483, allocations: 251.3 kB / 0.7309 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/0.5493, allocations: 0.6885 MB / 0.7316 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.5494, allocations: 64.61 kB / 0.7316 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.5495, allocations: 78.36 kB / 0.7317 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.551, allocations: 0.9249 MB / 0.7326 GB, free: 3.293 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.551, allocations: 1.438 kB / 0.7326 GB, free: 3.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/0.5511, allocations: 32.34 kB / 0.7326 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.5511, allocations: 20.41 kB / 0.7327 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.5529, allocations: 1.13 MB / 0.7338 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.5567, allocations: 2.713 MB / 0.7364 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5581, allocations: 0.8701 MB / 0.7373 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004783/0.5586, allocations: 284.5 kB / 0.7375 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/0.5587, allocations: 34.45 kB / 0.7376 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007264/0.5595, allocations: 431.8 kB / 0.738 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=74): time 2.034e-06/0.5595, allocations: 0 / 0.738 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of matching and sorting (n=74): time 0.002642/0.5621, allocations: 1.097 MB / 0.739 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5622, allocations: 197.9 kB / 0.7392 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.5629, allocations: 0.5809 MB / 0.7398 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.563, allocations: 40.55 kB / 0.7398 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.5632, allocations: 386.8 kB / 0.7402 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5634, allocations: 250.8 kB / 0.7405 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.5635, allocations: 15.41 kB / 0.7405 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5636, allocations: 385.3 kB / 0.7408 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.564, allocations: 220.5 kB / 0.741 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.5645, allocations: 344.8 kB / 0.7414 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.565, allocations: 272.2 kB / 0.7416 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.565, allocations: 0 / 0.7416 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00156/0.5666, allocations: 0.7485 MB / 0.7424 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.5666, allocations: 5.906 kB / 0.7424 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5666, allocations: 192 / 0.7424 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.5671, allocations: 87.36 kB / 0.7425 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.5677, allocations: 151.5 kB / 0.7426 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.5695, allocations: 1.512 MB / 0.7441 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.57, allocations: 98.11 kB / 0.7442 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.5701, allocations: 27.98 kB / 0.7442 GB, free: 11.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (80): * Single equations (assignments): 79 * 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.0003521/0.5704, allocations: 254.7 kB / 0.7444 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5706, allocations: 75.06 kB / 0.7445 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.5726, allocations: 1.008 MB / 0.7455 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.5727, allocations: 12 kB / 0.7455 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.5727, allocations: 0 / 0.7455 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5727, allocations: 4.078 kB / 0.7455 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.5756, allocations: 1.93 MB / 0.7474 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.5756, allocations: 0 / 0.7474 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/0.5762, allocations: 143.8 kB / 0.7475 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.5766, allocations: 92.7 kB / 0.7476 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.5767, allocations: 19.98 kB / 0.7476 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.5783, allocations: 1.539 MB / 0.7491 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5783, allocations: 8 kB / 0.7492 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.58, allocations: 0.9141 MB / 0.75 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.5803, allocations: 267.8 kB / 0.7503 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5804, allocations: 19.95 kB / 0.7503 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00055/0.581, allocations: 71.94 kB / 0.7504 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.5811, allocations: 60.84 kB / 0.7504 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/0.5812, allocations: 31.98 kB / 0.7505 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004803/0.5816, allocations: 427 kB / 0.7509 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5816, allocations: 4 kB / 0.7509 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008489/0.5825, allocations: 299.2 kB / 0.7512 GB, free: 4.195 MB / 0.5606 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.003042/0.5856, allocations: 1.951 MB / 0.7531 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001329/0.5869, allocations: 0.7314 MB / 0.7538 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5869, allocations: 4.312 kB / 0.7538 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/0.5877, allocations: 0.4885 MB / 0.7543 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5889, allocations: 263.7 kB / 0.7545 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/0.5977, allocations: 4.74 MB / 0.7592 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.5983, allocations: 1.004 MB / 0.7601 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008513/0.5992, allocations: 258.2 kB / 0.7604 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/0.5997, allocations: 359.3 kB / 0.7607 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.5997, allocations: 4 kB / 0.7607 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0418/0.6415, allocations: 20.35 MB / 0.7806 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004334/0.642, allocations: 262.7 kB / 0.7809 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/2.922, allocations: 0 / 0.7809 GB, free: 6.117 MB / 0.5919 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) Environment - environmentSimulation: