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.004628/0.004628, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.00105/0.00105, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9253/0.9253, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3547, allocations: 80.92 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004906/0.3597, allocations: 4.193 MB / 0.6682 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1567/0.5164, allocations: 150.5 MB / 0.8152 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.5172, allocations: 19.88 kB / 0.8152 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.5177, allocations: 166.5 kB / 0.8154 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.5191, allocations: 496.4 kB / 0.8158 GB, free: 5.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.5209, allocations: 0.8091 MB / 0.8166 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.522, allocations: 1.214 MB / 0.8178 GB, free: 3.621 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008017/0.5228, allocations: 0.6407 MB / 0.8185 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.5233, allocations: 446.4 kB / 0.8189 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.5238, allocations: 461.9 kB / 0.8193 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.5239, allocations: 104 kB / 0.8194 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007595/0.5247, allocations: 479.6 kB / 0.8199 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.525, allocations: 275 kB / 0.8201 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004291/0.5254, allocations: 0.509 MB / 0.8206 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.527, allocations: 1.514 MB / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.527, allocations: 0 / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.373e-06/0.527, allocations: 0 / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.527, allocations: 0 / 0.8221 GB, free: 15.2 MB / 0.6544 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.002167/0.5292, allocations: 1.383 MB / 0.8235 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.5293, allocations: 12.02 kB / 0.8235 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.5294, allocations: 131.3 kB / 0.8236 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5307, allocations: 232 kB / 0.8238 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.5318, allocations: 0.7504 MB / 0.8246 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.5318, allocations: 69.98 kB / 0.8246 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5319, allocations: 76 kB / 0.8247 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.5335, allocations: 0.9278 MB / 0.8256 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5335, allocations: 0 / 0.8256 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.5336, allocations: 32 kB / 0.8256 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.5336, allocations: 20 kB / 0.8256 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.5355, allocations: 1.12 MB / 0.8267 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.5392, allocations: 2.65 MB / 0.8293 GB, free: 7.574 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.5409, allocations: 0.8585 MB / 0.8302 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.5414, allocations: 282.7 kB / 0.8304 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/0.5414, allocations: 32.67 kB / 0.8305 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000743/0.5422, allocations: 423.3 kB / 0.8309 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.515e-06/0.5422, allocations: 0 / 0.8309 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002929/0.5451, allocations: 1.094 MB / 0.8319 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.5452, allocations: 188.6 kB / 0.8321 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.5459, allocations: 0.594 MB / 0.8327 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.546, allocations: 41.7 kB / 0.8327 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.5462, allocations: 392.8 kB / 0.8331 GB, free: 3.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.5464, allocations: 257.8 kB / 0.8334 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.5467, allocations: 138.2 kB / 0.8335 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5468, allocations: 386.7 kB / 0.8339 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.5473, allocations: 213.2 kB / 0.8341 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005651/0.5478, allocations: 349.3 kB / 0.8344 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5489, allocations: 0.5575 MB / 0.8349 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5489, allocations: 0 / 0.8349 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001756/0.5506, allocations: 0.7473 MB / 0.8357 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5507, allocations: 11.98 kB / 0.8357 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5507, allocations: 3.984 kB / 0.8357 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.5513, allocations: 88.84 kB / 0.8358 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.5519, allocations: 143.8 kB / 0.8359 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.554, allocations: 1.631 MB / 0.8375 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.5545, allocations: 83.55 kB / 0.8376 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.5546, allocations: 23.98 kB / 0.8376 GB, free: 14.74 MB / 0.67 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.0003489/0.555, allocations: 257.6 kB / 0.8378 GB, free: 14.48 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.5551, allocations: 87.53 kB / 0.8379 GB, free: 14.39 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.5573, allocations: 0.9831 MB / 0.8389 GB, free: 13.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.5574, allocations: 11.94 kB / 0.8389 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5574, allocations: 3.938 kB / 0.8389 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5574, allocations: 3.984 kB / 0.8389 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.5606, allocations: 1.916 MB / 0.8408 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5606, allocations: 0 / 0.8408 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005873/0.5612, allocations: 147.8 kB / 0.8409 GB, free: 11.24 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.5616, allocations: 72.78 kB / 0.841 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.5617, allocations: 23.98 kB / 0.841 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.5635, allocations: 1.662 MB / 0.8426 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5635, allocations: 0 / 0.8426 GB, free: 9.332 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5653, allocations: 0.9204 MB / 0.8435 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.5657, allocations: 264.2 kB / 0.8438 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5658, allocations: 16 kB / 0.8438 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005946/0.5664, allocations: 51.95 kB / 0.8439 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.5665, allocations: 64.91 kB / 0.8439 GB, free: 7.988 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.099e-05/0.5666, allocations: 27.98 kB / 0.8439 GB, free: 7.961 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004996/0.5671, allocations: 431 kB / 0.8444 GB, free: 7.547 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5671, allocations: 0 / 0.8444 GB, free: 7.547 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007765/0.5679, allocations: 303.1 kB / 0.8446 GB, free: 7.25 MB / 0.67 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.003212/0.5711, allocations: 1.964 MB / 0.8466 GB, free: 5.438 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.5726, allocations: 0.7397 MB / 0.8473 GB, free: 4.688 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5726, allocations: 0 / 0.8473 GB, free: 4.688 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008405/0.5734, allocations: 0.4884 MB / 0.8478 GB, free: 4.188 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.5747, allocations: 311.5 kB / 0.8481 GB, free: 3.906 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009783/0.5845, allocations: 5.976 MB / 0.8539 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.585, allocations: 1.011 MB / 0.8549 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007364/0.5858, allocations: 250.3 kB / 0.8551 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.5863, allocations: 363.3 kB / 0.8555 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of SimCode: time 7.31e-07/0.5863, allocations: 0 / 0.8555 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3152/0.9015, allocations: 20.46 MB / 0.8754 GB, free: 190.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.28, allocations: 5.656 kB / 0.8754 GB, free: 190.2 MB / 0.6856 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)