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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 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.001853/0.001853, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.263/1.263, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7226/0.7226, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.94 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3288, allocations: 80.21 MB / 0.5802 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004839/0.3337, allocations: 4.188 MB / 0.5843 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1497/0.4834, allocations: 150.5 MB / 0.7312 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007072/0.4841, allocations: 19.88 kB / 0.7313 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.4846, allocations: 170.5 kB / 0.7314 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.486, allocations: 483.6 kB / 0.7319 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001728/0.4877, allocations: 0.8004 MB / 0.7327 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000968/0.4887, allocations: 1.21 MB / 0.7338 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007639/0.4895, allocations: 0.6372 MB / 0.7345 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.4899, allocations: 438.5 kB / 0.7349 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004592/0.4904, allocations: 465.9 kB / 0.7353 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.4905, allocations: 104 kB / 0.7354 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.4912, allocations: 447.6 kB / 0.7359 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.4915, allocations: 275.1 kB / 0.7361 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000387/0.4918, allocations: 0.5051 MB / 0.7366 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.4932, allocations: 1.464 MB / 0.738 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4932, allocations: 3.938 kB / 0.738 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4932, allocations: 0 / 0.738 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.4932, allocations: 0 / 0.738 GB, free: 15.19 MB / 0.5762 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.001932/0.4952, allocations: 1.354 MB / 0.7394 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.4952, allocations: 8.031 kB / 0.7394 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.4953, allocations: 131.3 kB / 0.7395 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.4965, allocations: 223.4 kB / 0.7397 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.4974, allocations: 0.7225 MB / 0.7404 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.482e-05/0.4975, allocations: 58 kB / 0.7405 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/0.4976, allocations: 80 kB / 0.7406 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.499, allocations: 0.917 MB / 0.7414 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.499, allocations: 4 kB / 0.7415 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.606e-05/0.4991, allocations: 36 kB / 0.7415 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4991, allocations: 20 kB / 0.7415 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.5009, allocations: 1.116 MB / 0.7426 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003479/0.5044, allocations: 2.699 MB / 0.7452 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.5059, allocations: 0.8586 MB / 0.7461 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004661/0.5064, allocations: 282.5 kB / 0.7463 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.835e-05/0.5065, allocations: 32.67 kB / 0.7464 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007333/0.5072, allocations: 431.2 kB / 0.7468 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 1.974e-06/0.5072, allocations: 0 / 0.7468 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002861/0.5101, allocations: 1.084 MB / 0.7478 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.5102, allocations: 192.6 kB / 0.748 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.5108, allocations: 0.5862 MB / 0.7486 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.5109, allocations: 41.64 kB / 0.7486 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.5111, allocations: 396.1 kB / 0.749 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.5113, allocations: 244.4 kB / 0.7492 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.5115, allocations: 134.3 kB / 0.7494 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5117, allocations: 390.7 kB / 0.7497 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.5121, allocations: 221.1 kB / 0.75 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.5127, allocations: 345.4 kB / 0.7503 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/0.5136, allocations: 0.5574 MB / 0.7508 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5136, allocations: 0 / 0.7508 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001658/0.5153, allocations: 0.7431 MB / 0.7516 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5153, allocations: 6.656 kB / 0.7516 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5153, allocations: 4 kB / 0.7516 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.5159, allocations: 88.89 kB / 0.7517 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005724/0.5165, allocations: 147.7 kB / 0.7518 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.5184, allocations: 1.623 MB / 0.7534 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.519, allocations: 86.34 kB / 0.7535 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.519, allocations: 27.98 kB / 0.7535 GB, free: 14.78 MB / 0.5919 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.000299/0.5193, allocations: 249.6 kB / 0.7537 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5195, allocations: 75.06 kB / 0.7538 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.5216, allocations: 0.9948 MB / 0.7548 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.5216, allocations: 11.94 kB / 0.7548 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.5216, allocations: 0 / 0.7548 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.5216, allocations: 3.984 kB / 0.7548 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/0.5246, allocations: 1.923 MB / 0.7567 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.5247, allocations: 0 / 0.7567 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.5252, allocations: 147.8 kB / 0.7568 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.5257, allocations: 72.78 kB / 0.7569 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.5257, allocations: 19.98 kB / 0.7569 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.5275, allocations: 1.662 MB / 0.7585 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.5275, allocations: 0 / 0.7585 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.5292, allocations: 0.9141 MB / 0.7594 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.5295, allocations: 251.8 kB / 0.7596 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.5297, allocations: 16 kB / 0.7597 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.5302, allocations: 60 kB / 0.7597 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.5303, allocations: 60.91 kB / 0.7598 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.5304, allocations: 31.98 kB / 0.7598 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004695/0.5309, allocations: 431 kB / 0.7602 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.443e-06/0.5309, allocations: 0 / 0.7602 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007162/0.5316, allocations: 299.1 kB / 0.7605 GB, free: 7.309 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.003117/0.5347, allocations: 1.956 MB / 0.7624 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00196/0.5367, allocations: 0.931 MB / 0.7633 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.5367, allocations: 0 / 0.7633 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.5376, allocations: 492.3 kB / 0.7638 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5388, allocations: 305.6 kB / 0.7641 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/0.5484, allocations: 6.151 MB / 0.7701 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.549, allocations: 1.008 MB / 0.7711 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007543/0.5497, allocations: 254.3 kB / 0.7713 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.5502, allocations: 355.3 kB / 0.7717 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.5502, allocations: 4 kB / 0.7717 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04301/0.5932, allocations: 20.23 MB / 0.7914 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.07, allocations: 7.984 kB / 0.7914 GB, free: 8.016 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)