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.00491/0.004911, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.001286/0.001287, allocations: 194.7 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7948/0.7948, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.17 kB / 0.5808 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00569/0.1498, allocations: 4.196 MB / 0.6633 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1613/0.3111, allocations: 150.5 MB / 0.8102 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006265/0.3118, allocations: 23.81 kB / 0.8102 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004858/0.3123, allocations: 170.5 kB / 0.8104 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3136, allocations: 490.4 kB / 0.8109 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.3153, allocations: 0.7994 MB / 0.8117 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.3164, allocations: 1.218 MB / 0.8128 GB, free: 8 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3047/0.6212, allocations: 0.632 MB / 0.8135 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007345/0.6219, allocations: 446.7 kB / 0.8139 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.6225, allocations: 458.9 kB / 0.8143 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.6227, allocations: 104.6 kB / 0.8144 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008613/0.6235, allocations: 478.5 kB / 0.8149 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.6238, allocations: 272.2 kB / 0.8151 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.6242, allocations: 0.5051 MB / 0.8156 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.6259, allocations: 1.508 MB / 0.8171 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.6259, allocations: 0 / 0.8171 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6259, allocations: 0.9688 kB / 0.8171 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.626, allocations: 0 / 0.8171 GB, free: 2.887 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.002119/0.6281, allocations: 1.395 MB / 0.8185 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6281, allocations: 9.688 kB / 0.8185 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.6283, allocations: 132 kB / 0.8186 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.6295, allocations: 227.2 kB / 0.8188 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6306, allocations: 0.7435 MB / 0.8196 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.6307, allocations: 63.88 kB / 0.8196 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6308, allocations: 80.83 kB / 0.8197 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.6326, allocations: 0.9185 MB / 0.8206 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.6326, allocations: 0.7031 kB / 0.8206 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.463e-05/0.6327, allocations: 37.38 kB / 0.8206 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.6328, allocations: 21.31 kB / 0.8206 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.6346, allocations: 1.113 MB / 0.8217 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.6381, allocations: 2.658 MB / 0.8243 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.6396, allocations: 0.853 MB / 0.8252 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.6401, allocations: 278.6 kB / 0.8254 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.6402, allocations: 33.69 kB / 0.8255 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006584/0.6408, allocations: 433.5 kB / 0.8259 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=74): time 2.114e-06/0.6408, allocations: 4.25 kB / 0.8259 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=74): time 0.002707/0.6435, allocations: 1.088 MB / 0.8269 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.6437, allocations: 195.8 kB / 0.8271 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.6443, allocations: 0.5867 MB / 0.8277 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.6444, allocations: 40.36 kB / 0.8277 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.6446, allocations: 401.5 kB / 0.8281 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.6447, allocations: 259.1 kB / 0.8284 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.6449, allocations: 134 kB / 0.8285 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6451, allocations: 386.6 kB / 0.8289 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.6455, allocations: 217.7 kB / 0.8291 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.6459, allocations: 341.8 kB / 0.8294 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008252/0.6468, allocations: 0.5558 MB / 0.8299 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6468, allocations: 2.25 kB / 0.8299 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00154/0.6483, allocations: 0.7543 MB / 0.8307 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6483, allocations: 6.719 kB / 0.8307 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.6483, allocations: 1.375 kB / 0.8307 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.6489, allocations: 81.88 kB / 0.8308 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005257/0.6494, allocations: 144.6 kB / 0.8309 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04093/0.6904, allocations: 1.633 MB / 0.8325 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/0.6913, allocations: 80.67 kB / 0.8326 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.6914, allocations: 32.16 kB / 0.8326 GB, free: 13.36 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.0005006/0.6919, allocations: 252.3 kB / 0.8328 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.6921, allocations: 84.86 kB / 0.8329 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.6941, allocations: 0.9858 MB / 0.8339 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.6941, allocations: 13.5 kB / 0.8339 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6942, allocations: 0.9688 kB / 0.8339 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.6942, allocations: 9.609 kB / 0.8339 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.6969, allocations: 1.928 MB / 0.8358 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6969, allocations: 1 kB / 0.8358 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.6974, allocations: 141 kB / 0.8359 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004047/0.6979, allocations: 73.12 kB / 0.836 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.6979, allocations: 26.16 kB / 0.836 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.6997, allocations: 1.662 MB / 0.8376 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6997, allocations: 3.156 kB / 0.8376 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.7013, allocations: 0.9171 MB / 0.8385 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.7016, allocations: 256.5 kB / 0.8388 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/0.7017, allocations: 23.11 kB / 0.8388 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.7022, allocations: 49.42 kB / 0.8389 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.7024, allocations: 61.27 kB / 0.8389 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/0.7024, allocations: 32.06 kB / 0.8389 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000456/0.7029, allocations: 433.7 kB / 0.8394 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7029, allocations: 0 / 0.8394 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008031/0.7037, allocations: 293.6 kB / 0.8396 GB, free: 10.75 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.003448/0.7072, allocations: 1.985 MB / 0.8416 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.7085, allocations: 0.7345 MB / 0.8423 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7085, allocations: 0.6562 kB / 0.8423 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.7092, allocations: 496.6 kB / 0.8428 GB, free: 9.684 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.7104, allocations: 300.6 kB / 0.8431 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008676/0.7191, allocations: 5.993 MB / 0.8489 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.7196, allocations: 1.004 MB / 0.8499 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007054/0.7203, allocations: 258.9 kB / 0.8501 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/0.7207, allocations: 354.3 kB / 0.8505 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.7207, allocations: 0 / 0.8505 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5239/1.245, allocations: 20.47 MB / 0.8705 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.86, allocations: 9.172 kB / 0.8705 GB, free: 2.527 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 & /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)