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.004436/0.004436, allocations: 102.5 kB / 15.74 MB, free: 6.031 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.001283/0.001283, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9848/0.9848, allocations: 135.5 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 0.5857 GB, free: 3.215 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3521, allocations: 81.02 MB / 0.6648 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004597/0.3567, allocations: 4.192 MB / 0.6689 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1785/0.5352, allocations: 150.5 MB / 0.8159 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007516/0.536, allocations: 19.94 kB / 0.8159 GB, free: 5.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.5367, allocations: 166.4 kB / 0.8161 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.5383, allocations: 487.7 kB / 0.8165 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.5403, allocations: 0.8032 MB / 0.8173 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.5419, allocations: 1.222 MB / 0.8185 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000948/0.5428, allocations: 0.6411 MB / 0.8191 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.5435, allocations: 454.3 kB / 0.8196 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.5441, allocations: 454 kB / 0.82 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.5442, allocations: 104 kB / 0.8201 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009649/0.5452, allocations: 471.6 kB / 0.8206 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.5455, allocations: 279 kB / 0.8208 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.546, allocations: 0.5051 MB / 0.8213 GB, free: 44 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.5479, allocations: 1.507 MB / 0.8228 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5479, allocations: 0 / 0.8228 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5479, allocations: 0 / 0.8228 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.5479, allocations: 4 kB / 0.8228 GB, free: 14.53 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.002373/0.5503, allocations: 1.387 MB / 0.8241 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5503, allocations: 12.03 kB / 0.8242 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.5505, allocations: 135.2 kB / 0.8243 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.5518, allocations: 232 kB / 0.8245 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.553, allocations: 0.7426 MB / 0.8252 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.5531, allocations: 62 kB / 0.8253 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5532, allocations: 79.94 kB / 0.8254 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.5549, allocations: 0.9248 MB / 0.8263 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.555, allocations: 4 kB / 0.8263 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.5551, allocations: 32 kB / 0.8263 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.5551, allocations: 24 kB / 0.8263 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.5572, allocations: 1.116 MB / 0.8274 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.5614, allocations: 2.653 MB / 0.83 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.5632, allocations: 0.863 MB / 0.8309 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/0.5638, allocations: 278.7 kB / 0.8311 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.587e-05/0.5638, allocations: 28.69 kB / 0.8311 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008339/0.5647, allocations: 435.3 kB / 0.8316 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 4.578e-06/0.5647, allocations: 0 / 0.8316 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.003242/0.5679, allocations: 1.09 MB / 0.8326 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.5681, allocations: 188.6 kB / 0.8328 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.569, allocations: 0.5862 MB / 0.8334 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.5691, allocations: 45.69 kB / 0.8334 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.5695, allocations: 392.8 kB / 0.8338 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.5697, allocations: 253.8 kB / 0.834 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.5699, allocations: 146.2 kB / 0.8342 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.5702, allocations: 386.6 kB / 0.8345 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.5707, allocations: 221.2 kB / 0.8348 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.5713, allocations: 341.4 kB / 0.8351 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.5724, allocations: 0.5536 MB / 0.8356 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5724, allocations: 4 kB / 0.8356 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001925/0.5743, allocations: 0.7474 MB / 0.8364 GB, free: 188 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5744, allocations: 4 kB / 0.8364 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.5744, allocations: 4 kB / 0.8364 GB, free: 180 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.575, allocations: 84.91 kB / 0.8364 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006512/0.5757, allocations: 147.8 kB / 0.8366 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.5782, allocations: 1.623 MB / 0.8382 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.5788, allocations: 87.61 kB / 0.8383 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.5789, allocations: 27.98 kB / 0.8383 GB, free: 14.07 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.0004293/0.5793, allocations: 257.6 kB / 0.8385 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.5795, allocations: 79.48 kB / 0.8386 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/0.5819, allocations: 0.9832 MB / 0.8396 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.582, allocations: 19.92 kB / 0.8396 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.582, allocations: 0 / 0.8396 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.582, allocations: 3.984 kB / 0.8396 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.5855, allocations: 1.931 MB / 0.8415 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.5855, allocations: 3.938 kB / 0.8415 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.5861, allocations: 147.8 kB / 0.8416 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/0.5866, allocations: 72.78 kB / 0.8417 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.5867, allocations: 27.98 kB / 0.8417 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002144/0.5888, allocations: 1.642 MB / 0.8433 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5888, allocations: 0 / 0.8433 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.5908, allocations: 0.9321 MB / 0.8442 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.5912, allocations: 260.2 kB / 0.8445 GB, free: 7.441 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.5913, allocations: 16 kB / 0.8445 GB, free: 7.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.5919, allocations: 51.95 kB / 0.8445 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.592, allocations: 60.91 kB / 0.8446 GB, free: 7.312 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.441e-05/0.5921, allocations: 27.98 kB / 0.8446 GB, free: 7.285 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005753/0.5927, allocations: 435 kB / 0.845 GB, free: 6.867 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.5927, allocations: 0 / 0.845 GB, free: 6.867 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008216/0.5935, allocations: 299.2 kB / 0.8453 GB, free: 6.574 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.004112/0.5976, allocations: 1.97 MB / 0.8472 GB, free: 4.758 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.5993, allocations: 0.7394 MB / 0.848 GB, free: 4.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5993, allocations: 3.938 kB / 0.848 GB, free: 4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.6003, allocations: 496.6 kB / 0.8484 GB, free: 3.504 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6016, allocations: 305.1 kB / 0.8487 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.6126, allocations: 5.99 MB / 0.8546 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.6134, allocations: 0.9955 MB / 0.8556 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007853/0.6141, allocations: 266.2 kB / 0.8558 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000553/0.6147, allocations: 359.3 kB / 0.8562 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of SimCode: time 4.21e-07/0.6147, allocations: 0 / 0.8562 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3217/0.9364, allocations: 20.46 MB / 0.8761 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.74, allocations: 8.422 kB / 0.8761 GB, free: 189.8 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)