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.007415/0.007415, allocations: 101 kB / 15.73 MB, free: 6.059 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.002091/0.002091, allocations: 194 kB / 16.67 MB, free: 5.969 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8309/0.8309, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 66.02 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.126, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006252/0.1323, allocations: 4.191 MB / 0.6633 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4235/0.5558, allocations: 150.5 MB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005852/0.5565, allocations: 16 kB / 0.8102 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005698/0.5571, allocations: 171.4 kB / 0.8104 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.5585, allocations: 486.3 kB / 0.8109 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.56, allocations: 0.8066 MB / 0.8117 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009584/0.561, allocations: 1.218 MB / 0.8128 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007551/0.5618, allocations: 0.6299 MB / 0.8135 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.5622, allocations: 444.1 kB / 0.8139 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.5627, allocations: 463.6 kB / 0.8143 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.5629, allocations: 104.7 kB / 0.8144 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006402/0.5635, allocations: 479.5 kB / 0.8149 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.5637, allocations: 273.5 kB / 0.8151 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.5641, allocations: 0.5034 MB / 0.8156 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.5656, allocations: 1.512 MB / 0.8171 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.5656, allocations: 0 / 0.8171 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5656, allocations: 1.781 kB / 0.8171 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.5656, allocations: 0 / 0.8171 GB, free: 9.758 MB / 0.5919 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.002145/0.5677, allocations: 1.392 MB / 0.8185 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.5678, allocations: 8.281 kB / 0.8185 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.5679, allocations: 134.4 kB / 0.8186 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.5692, allocations: 226.6 kB / 0.8188 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5703, allocations: 0.7473 MB / 0.8196 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.5703, allocations: 60.19 kB / 0.8196 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5705, allocations: 80.31 kB / 0.8197 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.5721, allocations: 0.9155 MB / 0.8206 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.5721, allocations: 3.938 kB / 0.8206 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.5722, allocations: 41.66 kB / 0.8206 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.5722, allocations: 20.81 kB / 0.8206 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.5741, allocations: 1.111 MB / 0.8217 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.578, allocations: 2.66 MB / 0.8243 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.5797, allocations: 0.8513 MB / 0.8252 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.5802, allocations: 279.4 kB / 0.8254 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.313e-05/0.5802, allocations: 39.92 kB / 0.8255 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007755/0.581, allocations: 435.1 kB / 0.8259 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 1.993e-06/0.581, allocations: 0 / 0.8259 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.003021/0.5841, allocations: 1.097 MB / 0.8269 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.5842, allocations: 188.4 kB / 0.8271 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.5849, allocations: 0.5864 MB / 0.8277 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.585, allocations: 42.42 kB / 0.8277 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.5853, allocations: 396.3 kB / 0.8281 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.5855, allocations: 260.5 kB / 0.8284 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.5857, allocations: 136.5 kB / 0.8285 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5859, allocations: 387.7 kB / 0.8289 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.5864, allocations: 220.3 kB / 0.8291 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.587, allocations: 339 kB / 0.8294 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.5881, allocations: 0.5557 MB / 0.8299 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5881, allocations: 0 / 0.8299 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001796/0.5899, allocations: 0.7537 MB / 0.8307 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.5899, allocations: 5.062 kB / 0.8307 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5899, allocations: 2.625 kB / 0.8307 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.5905, allocations: 85.8 kB / 0.8308 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.5911, allocations: 152 kB / 0.8309 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.5935, allocations: 1.629 MB / 0.8325 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.5941, allocations: 76.58 kB / 0.8326 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.5942, allocations: 33.73 kB / 0.8326 GB, free: 14.81 MB / 0.6075 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.0003373/0.5945, allocations: 251.5 kB / 0.8328 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.5946, allocations: 78.77 kB / 0.8329 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/0.597, allocations: 0.9917 MB / 0.8339 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.597, allocations: 11.95 kB / 0.8339 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.597, allocations: 3.938 kB / 0.8339 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.597, allocations: 3.984 kB / 0.8339 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.6003, allocations: 1.924 MB / 0.8358 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6003, allocations: 4 kB / 0.8358 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.6009, allocations: 142.5 kB / 0.8359 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/0.6014, allocations: 70.7 kB / 0.836 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.6014, allocations: 24.61 kB / 0.836 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.6035, allocations: 1.666 MB / 0.8376 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6035, allocations: 0 / 0.8376 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6054, allocations: 0.9225 MB / 0.8385 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.6058, allocations: 257.4 kB / 0.8388 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.6059, allocations: 18.61 kB / 0.8388 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.6065, allocations: 51.2 kB / 0.8389 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.6066, allocations: 60.72 kB / 0.8389 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.6067, allocations: 28.42 kB / 0.8389 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004947/0.6072, allocations: 436.9 kB / 0.8394 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6072, allocations: 4 kB / 0.8394 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006642/0.6079, allocations: 294.1 kB / 0.8396 GB, free: 9.812 MB / 0.6075 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.003916/0.6118, allocations: 1.963 MB / 0.8416 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.6133, allocations: 0.7363 MB / 0.8423 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6133, allocations: 2.094 kB / 0.8423 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.6142, allocations: 0.4897 MB / 0.8428 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6154, allocations: 313.4 kB / 0.8431 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6264, allocations: 5.989 MB / 0.8489 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.6271, allocations: 1.003 MB / 0.8499 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007407/0.6279, allocations: 257.9 kB / 0.8501 GB, free: 416 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/0.6284, allocations: 355.3 kB / 0.8505 GB, free: 60 kB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.6284, allocations: 4 kB / 0.8505 GB, free: 56 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05747/0.6859, allocations: 20.47 MB / 0.8705 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.48, allocations: 4.578 kB / 0.8705 GB, free: 11.83 MB / 0.6387 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)