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.003955/0.003955, allocations: 102.5 kB / 15.73 MB, free: 5.508 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.001012/0.001012, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6954/0.6954, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 62.11 kB / 0.5808 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1358, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005741/0.1416, allocations: 4.192 MB / 0.6633 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1479/0.2895, allocations: 150.5 MB / 0.8102 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007057/0.2903, allocations: 19.88 kB / 0.8102 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.2908, allocations: 174.5 kB / 0.8104 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.2922, allocations: 489.5 kB / 0.8109 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.294, allocations: 0.8041 MB / 0.8117 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.2951, allocations: 1.222 MB / 0.8129 GB, free: 8 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3229/0.6181, allocations: 0.6225 MB / 0.8135 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000746/0.6188, allocations: 451.5 kB / 0.8139 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.6194, allocations: 458.5 kB / 0.8143 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.6196, allocations: 104.1 kB / 0.8144 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.6205, allocations: 477.4 kB / 0.8149 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002665/0.6208, allocations: 272.2 kB / 0.8151 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.6213, allocations: 0.5046 MB / 0.8156 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.6234, allocations: 1.511 MB / 0.8171 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6234, allocations: 1.328 kB / 0.8171 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.456e-06/0.6234, allocations: 0.7812 kB / 0.8171 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.6235, allocations: 2.234 kB / 0.8171 GB, free: 3.242 MB / 0.6387 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.00217/0.6256, allocations: 1.39 MB / 0.8185 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.6257, allocations: 9.531 kB / 0.8185 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001569/0.6258, allocations: 133.1 kB / 0.8186 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.6271, allocations: 227.6 kB / 0.8188 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.6283, allocations: 0.7463 MB / 0.8196 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.6283, allocations: 65.97 kB / 0.8196 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.6285, allocations: 80.36 kB / 0.8197 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.6301, allocations: 0.9197 MB / 0.8206 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.6302, allocations: 0.875 kB / 0.8206 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.947e-05/0.6302, allocations: 37.12 kB / 0.8206 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.6303, allocations: 21.16 kB / 0.8207 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.6321, allocations: 1.114 MB / 0.8217 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/0.6356, allocations: 2.659 MB / 0.8243 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.6371, allocations: 0.8565 MB / 0.8252 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.6376, allocations: 281.3 kB / 0.8254 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.962e-05/0.6377, allocations: 33.14 kB / 0.8255 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000653/0.6384, allocations: 436.4 kB / 0.8259 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 1.843e-06/0.6384, allocations: 0.8438 kB / 0.8259 GB, free: 16.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002786/0.6412, allocations: 1.089 MB / 0.827 GB, free: 16.47 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.347e-05/0.6413, allocations: 196.6 kB / 0.8271 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/0.6419, allocations: 0.5845 MB / 0.8277 GB, free: 16.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.642, allocations: 41.52 kB / 0.8278 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.6422, allocations: 397.9 kB / 0.8281 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.6423, allocations: 256.1 kB / 0.8284 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.6425, allocations: 140.6 kB / 0.8285 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6427, allocations: 387.5 kB / 0.8289 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.6431, allocations: 216.5 kB / 0.8291 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.6436, allocations: 343.7 kB / 0.8294 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/0.6445, allocations: 0.5565 MB / 0.83 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6445, allocations: 0.8125 kB / 0.83 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00155/0.646, allocations: 0.7464 MB / 0.8307 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6461, allocations: 9.062 kB / 0.8307 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.6461, allocations: 5.062 kB / 0.8307 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005398/0.6466, allocations: 86.09 kB / 0.8308 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.6472, allocations: 141.9 kB / 0.8309 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.649, allocations: 1.628 MB / 0.8325 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/0.6496, allocations: 86.89 kB / 0.8326 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.6496, allocations: 29.34 kB / 0.8326 GB, free: 13.71 MB / 0.6544 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.0002998/0.6499, allocations: 251.5 kB / 0.8329 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.6501, allocations: 80.64 kB / 0.8329 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.6521, allocations: 0.9891 MB / 0.8339 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.6521, allocations: 13.47 kB / 0.8339 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6521, allocations: 6.547 kB / 0.8339 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6521, allocations: 9.562 kB / 0.8339 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.6549, allocations: 1.923 MB / 0.8358 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6549, allocations: 2.5 kB / 0.8358 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.6554, allocations: 141.1 kB / 0.8359 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003984/0.6558, allocations: 73.52 kB / 0.836 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.6559, allocations: 28.14 kB / 0.836 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.6575, allocations: 1.656 MB / 0.8377 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6575, allocations: 3.188 kB / 0.8377 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.6591, allocations: 0.9247 MB / 0.8386 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/0.6594, allocations: 261 kB / 0.8388 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.6596, allocations: 17.64 kB / 0.8388 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.6601, allocations: 50.52 kB / 0.8389 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.6602, allocations: 60.39 kB / 0.8389 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.6603, allocations: 31.86 kB / 0.839 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004042/0.6607, allocations: 435.3 kB / 0.8394 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6607, allocations: 0.8125 kB / 0.8394 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007489/0.6615, allocations: 298.7 kB / 0.8397 GB, free: 11.11 MB / 0.6544 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.002873/0.6643, allocations: 1.965 MB / 0.8416 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.6656, allocations: 0.735 MB / 0.8423 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6656, allocations: 0 / 0.8423 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.6663, allocations: 0.4926 MB / 0.8428 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6675, allocations: 299.4 kB / 0.8431 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008509/0.676, allocations: 5.987 MB / 0.8489 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.6765, allocations: 1.007 MB / 0.8499 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007482/0.6773, allocations: 254 kB / 0.8501 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.6777, allocations: 358.4 kB / 0.8505 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.6777, allocations: 0.9062 kB / 0.8505 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.721, allocations: 20.46 MB / 0.8705 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.98, allocations: 15.78 kB / 0.8705 GB, free: 2.91 MB / 0.6544 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)