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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001217, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.156/1.156, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6626/0.6626, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 58.38 kB / 0.5013 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 80.21 MB / 0.5797 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004416/0.3057, allocations: 4.215 MB / 0.5838 GB, free: 1.559 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.13/0.4357, allocations: 148.3 MB / 0.7286 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006768/0.4365, allocations: 15.94 kB / 0.7286 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.4369, allocations: 138.9 kB / 0.7287 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00125/0.4382, allocations: 433 kB / 0.7291 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.4398, allocations: 0.7197 MB / 0.7298 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000867/0.4406, allocations: 1.203 MB / 0.731 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.4413, allocations: 0.6451 MB / 0.7316 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.4417, allocations: 442.4 kB / 0.7321 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.4421, allocations: 465.8 kB / 0.7325 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.4423, allocations: 108 kB / 0.7326 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.4428, allocations: 447.6 kB / 0.733 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.443, allocations: 275.1 kB / 0.7333 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.4433, allocations: 0.5051 MB / 0.7338 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.4444, allocations: 1.464 MB / 0.7352 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.4444, allocations: 0 / 0.7352 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4444, allocations: 0 / 0.7352 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.4444, allocations: 0 / 0.7352 GB, free: 1.816 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.001801/0.4462, allocations: 1.354 MB / 0.7365 GB, free: 416 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.4463, allocations: 12.03 kB / 0.7365 GB, free: 404 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.4464, allocations: 139.3 kB / 0.7367 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.4475, allocations: 215.5 kB / 0.7369 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/0.4483, allocations: 0.7264 MB / 0.7376 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.4483, allocations: 62 kB / 0.7377 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-05/0.4484, allocations: 76 kB / 0.7377 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.4498, allocations: 0.9209 MB / 0.7386 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.4498, allocations: 0 / 0.7386 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.4499, allocations: 32 kB / 0.7387 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.4499, allocations: 28 kB / 0.7387 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4515, allocations: 1.112 MB / 0.7398 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.4546, allocations: 2.691 MB / 0.7424 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.456, allocations: 0.8586 MB / 0.7432 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.4564, allocations: 274.7 kB / 0.7435 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.755e-05/0.4565, allocations: 36.67 kB / 0.7435 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.4572, allocations: 423.3 kB / 0.7439 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 1.814e-06/0.4572, allocations: 0 / 0.7439 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002595/0.4598, allocations: 1.092 MB / 0.745 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.4598, allocations: 192.6 kB / 0.7452 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.4604, allocations: 0.5862 MB / 0.7458 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.4605, allocations: 41.7 kB / 0.7458 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.4607, allocations: 396.1 kB / 0.7462 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4609, allocations: 244.4 kB / 0.7464 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.461, allocations: 134.3 kB / 0.7465 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4612, allocations: 382.7 kB / 0.7469 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.4616, allocations: 221.2 kB / 0.7471 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.462, allocations: 349.2 kB / 0.7474 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.4629, allocations: 0.5536 MB / 0.748 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4629, allocations: 8 kB / 0.748 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001531/0.4644, allocations: 0.7469 MB / 0.7487 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.4645, allocations: 4 kB / 0.7487 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4645, allocations: 4 kB / 0.7487 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005502/0.465, allocations: 84.91 kB / 0.7488 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.4656, allocations: 143.8 kB / 0.749 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.4673, allocations: 1.627 MB / 0.7505 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.4678, allocations: 79.39 kB / 0.7506 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.4679, allocations: 31.98 kB / 0.7506 GB, free: 1.406 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.0002792/0.4681, allocations: 259.5 kB / 0.7509 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4683, allocations: 79.06 kB / 0.751 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/0.4703, allocations: 0.9831 MB / 0.7519 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.4703, allocations: 11.94 kB / 0.7519 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4703, allocations: 4 kB / 0.7519 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4703, allocations: 3.984 kB / 0.7519 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.473, allocations: 1.923 MB / 0.7538 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.473, allocations: 4 kB / 0.7538 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.4735, allocations: 147.8 kB / 0.754 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.4739, allocations: 68.78 kB / 0.754 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.474, allocations: 27.98 kB / 0.7541 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.4756, allocations: 1.654 MB / 0.7557 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4756, allocations: 3.938 kB / 0.7557 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.4771, allocations: 0.9103 MB / 0.7566 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.4774, allocations: 255.8 kB / 0.7568 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.64e-05/0.4775, allocations: 20 kB / 0.7568 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005382/0.4781, allocations: 62.52 kB / 0.7569 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4782, allocations: 64.86 kB / 0.757 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.388e-05/0.4782, allocations: 27.98 kB / 0.757 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004047/0.4786, allocations: 431 kB / 0.7574 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4787, allocations: 3.938 kB / 0.7574 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006034/0.4793, allocations: 295.3 kB / 0.7577 GB, free: 9.93 MB / 0.5919 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.002811/0.4821, allocations: 1.952 MB / 0.7596 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.4839, allocations: 0.9229 MB / 0.7605 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4839, allocations: 8.375 kB / 0.7605 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.4846, allocations: 488.2 kB / 0.761 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.4857, allocations: 297.7 kB / 0.7612 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/0.4952, allocations: 6.548 MB / 0.7676 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.4957, allocations: 1.004 MB / 0.7686 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006721/0.4963, allocations: 254.3 kB / 0.7689 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.4968, allocations: 363.2 kB / 0.7692 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.4968, allocations: 0 / 0.7692 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.85/2.346, allocations: 20.08 MB / 0.7888 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/2.347, allocations: 281.3 kB / 0.7891 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/4.589, allocations: 3.094 kB / 0.7891 GB, free: 10.06 MB / 0.6231 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/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)