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.00114/0.00114, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 192.1 kB / 16.53 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.432/1.432, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.0026, allocations: 63.11 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2516, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.01004/0.2617, allocations: 4.184 MB / 0.5885 GB, free: 268 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6743/0.9361, allocations: 150.5 MB / 0.7355 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000923/0.937, allocations: 15.81 kB / 0.7355 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.9381, allocations: 173.6 kB / 0.7357 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.9411, allocations: 483.8 kB / 0.7362 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003422/0.9446, allocations: 0.8073 MB / 0.7369 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002517/0.9471, allocations: 1.199 MB / 0.7381 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.9489, allocations: 0.6355 MB / 0.7387 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.9501, allocations: 446.1 kB / 0.7392 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.9513, allocations: 458.9 kB / 0.7396 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.9517, allocations: 102.8 kB / 0.7397 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.9534, allocations: 449.3 kB / 0.7401 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.954, allocations: 273.6 kB / 0.7404 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008196/0.9548, allocations: 0.5061 MB / 0.7409 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002866/0.9577, allocations: 1.46 MB / 0.7423 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9577, allocations: 0 / 0.7423 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9577, allocations: 4 kB / 0.7423 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.97e-05/0.9578, allocations: 1.344 kB / 0.7423 GB, free: 8.34 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.004001/0.9618, allocations: 1.355 MB / 0.7436 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.9619, allocations: 9.5 kB / 0.7436 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.9621, allocations: 132.1 kB / 0.7438 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002381/0.9645, allocations: 223 kB / 0.744 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.9666, allocations: 0.7159 MB / 0.7447 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.9667, allocations: 68.39 kB / 0.7447 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.9669, allocations: 76.38 kB / 0.7448 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007408/0.9744, allocations: 0.9229 MB / 0.7457 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.9745, allocations: 0 / 0.7457 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.9746, allocations: 35 kB / 0.7458 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.9747, allocations: 19 kB / 0.7458 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003714/0.9784, allocations: 1.12 MB / 0.7469 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007591/0.9861, allocations: 2.684 MB / 0.7495 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007073/0.9932, allocations: 0.8536 MB / 0.7503 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.9943, allocations: 284.4 kB / 0.7506 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.9945, allocations: 32.67 kB / 0.7506 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.9961, allocations: 430.8 kB / 0.751 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 4.999e-06/0.9961, allocations: 4 kB / 0.751 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.005824/1.002, allocations: 1.084 MB / 0.7521 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.002, allocations: 188.6 kB / 0.7523 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/1.004, allocations: 0.5863 MB / 0.7528 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.004, allocations: 45.7 kB / 0.7529 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.004, allocations: 388.1 kB / 0.7533 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003362/1.005, allocations: 248.4 kB / 0.7535 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002941/1.005, allocations: 138.2 kB / 0.7536 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002283/1.005, allocations: 386.7 kB / 0.754 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007434/1.006, allocations: 217.2 kB / 0.7542 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.007, allocations: 345.3 kB / 0.7545 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/1.009, allocations: 0.5575 MB / 0.7551 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/1.009, allocations: 0 / 0.7551 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003378/1.012, allocations: 0.7457 MB / 0.7558 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.012, allocations: 10.34 kB / 0.7558 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.013, allocations: 3.938 kB / 0.7558 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.014, allocations: 84.95 kB / 0.7559 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.015, allocations: 147.7 kB / 0.756 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003642/1.019, allocations: 1.63 MB / 0.7576 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/1.02, allocations: 83.33 kB / 0.7577 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.02, allocations: 23.98 kB / 0.7577 GB, free: 10.7 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.000761/1.021, allocations: 253.6 kB / 0.758 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/1.021, allocations: 83.05 kB / 0.7581 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008588/1.03, allocations: 0.9885 MB / 0.759 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/1.03, allocations: 12 kB / 0.759 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.03, allocations: 3.938 kB / 0.759 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/1.03, allocations: 3.984 kB / 0.759 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/1.037, allocations: 1.915 MB / 0.7609 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.037, allocations: 0 / 0.7609 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/1.038, allocations: 144.5 kB / 0.761 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007105/1.038, allocations: 73.72 kB / 0.7611 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/1.039, allocations: 23.98 kB / 0.7611 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/1.041, allocations: 1.659 MB / 0.7628 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.041, allocations: 4 kB / 0.7628 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/1.045, allocations: 0.9143 MB / 0.7637 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004776/1.05, allocations: 263.8 kB / 0.7639 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/1.05, allocations: 20 kB / 0.7639 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.051, allocations: 47.95 kB / 0.764 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/1.051, allocations: 68.84 kB / 0.764 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.052, allocations: 27.98 kB / 0.7641 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001065/1.053, allocations: 431.7 kB / 0.7645 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.51e-07/1.053, allocations: 0 / 0.7645 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001647/1.054, allocations: 299.2 kB / 0.7648 GB, free: 3.23 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.006075/1.06, allocations: 1.956 MB / 0.7667 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003898/1.064, allocations: 0.923 MB / 0.7676 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.064, allocations: 3.938 kB / 0.7676 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/1.066, allocations: 488.3 kB / 0.768 GB, free: 40 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/1.069, allocations: 314.1 kB / 0.7683 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/1.096, allocations: 6.152 MB / 0.7744 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.097, allocations: 1.007 MB / 0.7753 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001772/1.099, allocations: 266.2 kB / 0.7756 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009153/1.1, allocations: 359.3 kB / 0.7759 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/1.1, allocations: 3.938 kB / 0.7759 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3009/1.401, allocations: 20.23 MB / 0.7957 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.21/21.61, allocations: 11.52 kB / 0.7957 GB, free: 3.895 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)