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.001784/0.001784, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001794/0.001794, allocations: 196.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.111/1.111, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7656/0.7656, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 60.86 kB / 0.505 GB, free: 5.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1171, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004637/0.1218, allocations: 4.189 MB / 0.5881 GB, free: 0.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3141/0.4359, allocations: 148.3 MB / 0.7329 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.4365, allocations: 19.47 kB / 0.7329 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005338/0.437, allocations: 135 kB / 0.733 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.4384, allocations: 428.1 kB / 0.7334 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.44, allocations: 0.713 MB / 0.7341 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.4413, allocations: 1.211 MB / 0.7353 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008228/0.4422, allocations: 0.6359 MB / 0.7359 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.4428, allocations: 450.4 kB / 0.7364 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005856/0.4434, allocations: 460.4 kB / 0.7368 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.4435, allocations: 104.1 kB / 0.7369 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.4442, allocations: 449 kB / 0.7373 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.4445, allocations: 273.3 kB / 0.7376 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.4449, allocations: 0.5077 MB / 0.7381 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.4463, allocations: 1.461 MB / 0.7395 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.4463, allocations: 0 / 0.7395 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4463, allocations: 0 / 0.7395 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.4464, allocations: 0 / 0.7395 GB, free: 10.45 MB / 0.5606 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.002225/0.4486, allocations: 1.36 MB / 0.7408 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.4486, allocations: 9.156 kB / 0.7408 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.4488, allocations: 141.1 kB / 0.741 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.4499, allocations: 220.1 kB / 0.7412 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.4507, allocations: 0.713 MB / 0.7419 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.4508, allocations: 60.88 kB / 0.7419 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.4509, allocations: 80.25 kB / 0.742 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.4522, allocations: 0.9307 MB / 0.7429 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4523, allocations: 0 / 0.7429 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.4523, allocations: 38.22 kB / 0.743 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.4524, allocations: 20.84 kB / 0.743 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.4539, allocations: 1.109 MB / 0.7441 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.457, allocations: 2.684 MB / 0.7467 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.4583, allocations: 0.8554 MB / 0.7475 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.4587, allocations: 285.9 kB / 0.7478 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.4588, allocations: 28.69 kB / 0.7478 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006911/0.4595, allocations: 433.9 kB / 0.7482 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 1.693e-06/0.4595, allocations: 0 / 0.7482 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.002543/0.4621, allocations: 1.084 MB / 0.7493 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.4621, allocations: 192.6 kB / 0.7495 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.4627, allocations: 0.5901 MB / 0.7501 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.312e-05/0.4628, allocations: 37.7 kB / 0.7501 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.463, allocations: 392.1 kB / 0.7505 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4632, allocations: 244.5 kB / 0.7507 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.4634, allocations: 134.2 kB / 0.7508 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4635, allocations: 390.7 kB / 0.7512 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.4639, allocations: 221.1 kB / 0.7514 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.4644, allocations: 341.4 kB / 0.7517 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/0.4652, allocations: 0.5575 MB / 0.7523 GB, free: 272 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4653, allocations: 2.062 kB / 0.7523 GB, free: 272 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001533/0.4668, allocations: 0.743 MB / 0.753 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4668, allocations: 8 kB / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4668, allocations: 0 / 0.753 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.4674, allocations: 88.89 kB / 0.7531 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.4679, allocations: 143.7 kB / 0.7532 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.4697, allocations: 1.632 MB / 0.7548 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.4702, allocations: 86.56 kB / 0.7549 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.4702, allocations: 31.97 kB / 0.7549 GB, free: 13.38 MB / 0.5762 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.4705, allocations: 254.6 kB / 0.7552 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.4707, allocations: 75.06 kB / 0.7553 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.4726, allocations: 0.978 MB / 0.7562 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4726, allocations: 12 kB / 0.7562 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4726, allocations: 7.922 kB / 0.7562 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.4726, allocations: 7.984 kB / 0.7562 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4753, allocations: 1.915 MB / 0.7581 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4753, allocations: 5.062 kB / 0.7581 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.4758, allocations: 147.8 kB / 0.7583 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.4762, allocations: 76.78 kB / 0.7583 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.4763, allocations: 19.98 kB / 0.7584 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.4779, allocations: 1.666 MB / 0.76 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4779, allocations: 0 / 0.76 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4795, allocations: 0.918 MB / 0.7609 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.4797, allocations: 251.8 kB / 0.7611 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.4798, allocations: 16 kB / 0.7611 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005131/0.4803, allocations: 59.94 kB / 0.7612 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.4805, allocations: 56.91 kB / 0.7612 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.4805, allocations: 31.98 kB / 0.7613 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005125/0.481, allocations: 432.4 kB / 0.7617 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.481, allocations: 4 kB / 0.7617 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006445/0.4817, allocations: 295.1 kB / 0.762 GB, free: 5.926 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002861/0.4846, allocations: 1.962 MB / 0.7639 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.4863, allocations: 0.9269 MB / 0.7648 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4864, allocations: 0 / 0.7648 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.4871, allocations: 492.3 kB / 0.7653 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4882, allocations: 301.9 kB / 0.7655 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009987/0.4982, allocations: 6.524 MB / 0.7719 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.4988, allocations: 1.007 MB / 0.7729 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007108/0.4995, allocations: 270.1 kB / 0.7732 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/0.4999, allocations: 359.3 kB / 0.7735 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.5, allocations: 0 / 0.7735 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.5359, allocations: 20.08 MB / 0.7931 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.5361, allocations: 293.8 kB / 0.7934 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/2.614, allocations: 0 / 0.7934 GB, free: 6.02 MB / 0.6075 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/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)