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.004801/0.004801, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001075/0.001075, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7749/0.7749, allocations: 132.2 MB / 422.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.84 kB / 0.5808 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4285, allocations: 80.21 MB / 0.6592 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004986/0.4336, allocations: 4.19 MB / 0.6633 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1657/0.5993, allocations: 150.5 MB / 0.8102 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000932/0.6003, allocations: 19.88 kB / 0.8102 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007643/0.6011, allocations: 170.5 kB / 0.8104 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.6032, allocations: 499.5 kB / 0.8109 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002168/0.6054, allocations: 0.8045 MB / 0.8117 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.6069, allocations: 1.214 MB / 0.8129 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.6079, allocations: 0.6412 MB / 0.8135 GB, free: 7.617 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.6087, allocations: 450.4 kB / 0.8139 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007292/0.6094, allocations: 453.9 kB / 0.8143 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.6097, allocations: 107.9 kB / 0.8144 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.6108, allocations: 479.6 kB / 0.8149 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.6111, allocations: 267.1 kB / 0.8152 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006806/0.6118, allocations: 0.5129 MB / 0.8157 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.614, allocations: 1.499 MB / 0.8171 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.614, allocations: 4 kB / 0.8171 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.903e-06/0.614, allocations: 0 / 0.8171 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.604e-05/0.6141, allocations: 0 / 0.8171 GB, free: 3.871 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.002789/0.6169, allocations: 1.35 MB / 0.8184 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.6169, allocations: 12.03 kB / 0.8185 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002006/0.6171, allocations: 131.3 kB / 0.8186 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6184, allocations: 223.4 kB / 0.8188 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6196, allocations: 0.7421 MB / 0.8195 GB, free: 1.316 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.6197, allocations: 66 kB / 0.8196 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6198, allocations: 80 kB / 0.8197 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.6214, allocations: 0.9209 MB / 0.8206 GB, free: 208 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6214, allocations: 3.938 kB / 0.8206 GB, free: 204 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.6215, allocations: 40 kB / 0.8206 GB, free: 164 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.6215, allocations: 20 kB / 0.8206 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.6234, allocations: 1.112 MB / 0.8217 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/0.6271, allocations: 2.639 MB / 0.8243 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.6287, allocations: 0.8632 MB / 0.8251 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.6291, allocations: 282.7 kB / 0.8254 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.402e-05/0.6292, allocations: 32.69 kB / 0.8254 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007035/0.6299, allocations: 427.2 kB / 0.8258 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.785e-06/0.63, allocations: 0 / 0.8258 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002849/0.6328, allocations: 1.088 MB / 0.8269 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.6329, allocations: 188.6 kB / 0.8271 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.6337, allocations: 0.5978 MB / 0.8277 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.904e-05/0.6338, allocations: 37.7 kB / 0.8277 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.6341, allocations: 392.2 kB / 0.8281 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.6343, allocations: 240.4 kB / 0.8283 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.6345, allocations: 142.2 kB / 0.8284 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6346, allocations: 382.7 kB / 0.8288 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.6351, allocations: 217.2 kB / 0.829 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.6356, allocations: 345.4 kB / 0.8293 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.6366, allocations: 0.5575 MB / 0.8299 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6366, allocations: 3.938 kB / 0.8299 GB, free: 6.367 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001733/0.6384, allocations: 0.747 MB / 0.8306 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.6384, allocations: 4 kB / 0.8306 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6384, allocations: 4 kB / 0.8306 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.639, allocations: 88.89 kB / 0.8307 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.6396, allocations: 139.8 kB / 0.8308 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.6418, allocations: 1.63 MB / 0.8324 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.6424, allocations: 75.34 kB / 0.8325 GB, free: 3.523 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/0.6425, allocations: 27.98 kB / 0.8325 GB, free: 3.496 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.0004446/0.643, allocations: 265.6 kB / 0.8328 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.6431, allocations: 79.12 kB / 0.8329 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.6453, allocations: 0.9791 MB / 0.8338 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6454, allocations: 19.95 kB / 0.8338 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6454, allocations: 0 / 0.8338 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6454, allocations: 3.984 kB / 0.8338 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.6488, allocations: 1.939 MB / 0.8357 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6488, allocations: 0 / 0.8357 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.6494, allocations: 147.8 kB / 0.8359 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.6498, allocations: 72.73 kB / 0.8359 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.289e-05/0.6499, allocations: 23.98 kB / 0.836 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.6518, allocations: 1.654 MB / 0.8376 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6518, allocations: 0 / 0.8376 GB, free: 14.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.6536, allocations: 0.9199 MB / 0.8385 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.654, allocations: 251.8 kB / 0.8387 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6541, allocations: 16 kB / 0.8387 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005661/0.6547, allocations: 59.94 kB / 0.8388 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.6549, allocations: 52.92 kB / 0.8388 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.6549, allocations: 35.97 kB / 0.8389 GB, free: 12.71 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005525/0.6555, allocations: 427.1 kB / 0.8393 GB, free: 12.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6555, allocations: 0 / 0.8393 GB, free: 12.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008857/0.6564, allocations: 299.2 kB / 0.8396 GB, free: 12.01 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.003344/0.6597, allocations: 1.953 MB / 0.8415 GB, free: 10.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.6613, allocations: 0.7436 MB / 0.8422 GB, free: 9.484 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6613, allocations: 0 / 0.8422 GB, free: 9.484 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.6622, allocations: 492.3 kB / 0.8427 GB, free: 8.988 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.6634, allocations: 312.8 kB / 0.843 GB, free: 8.715 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.674, allocations: 5.954 MB / 0.8488 GB, free: 2.637 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006162/0.6747, allocations: 1.01 MB / 0.8498 GB, free: 1.602 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008009/0.6755, allocations: 250.3 kB / 0.85 GB, free: 1.352 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000529/0.6761, allocations: 355.3 kB / 0.8503 GB, free: 1.004 MB / 0.67 GB Notification: Performance of SimCode: time 1.113e-06/0.6761, allocations: 0 / 0.8503 GB, free: 1.004 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3812/1.057, allocations: 20.46 MB / 0.8703 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.89, allocations: 5.344 kB / 0.8703 GB, free: 192.5 MB / 0.6856 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)