Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="IBPSA_latest_IBPSA_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.00166/0.00166, allocations: 106.4 kB / 16.41 MB, free: 6.504 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.0017/0.0017, allocations: 191.9 kB / 17.34 MB, free: 5.758 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8418/0.8418, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 66.55 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1318, allocations: 78.86 MB / 0.6505 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006595/0.1384, allocations: 4.927 MB / 0.6553 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4442/0.5827, allocations: 150.6 MB / 0.8024 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006834/0.5834, allocations: 20.84 kB / 0.8025 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.584, allocations: 197.8 kB / 0.8026 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.5854, allocations: 0.5526 MB / 0.8032 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.587, allocations: 0.8547 MB / 0.804 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.5881, allocations: 1.424 MB / 0.8054 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007444/0.5888, allocations: 0.5979 MB / 0.806 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.5893, allocations: 0.4944 MB / 0.8065 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004833/0.5898, allocations: 0.5136 MB / 0.807 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.59, allocations: 117.8 kB / 0.8071 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.5907, allocations: 493.5 kB / 0.8076 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.5909, allocations: 303.4 kB / 0.8078 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.5913, allocations: 0.5668 MB / 0.8084 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.5927, allocations: 1.671 MB / 0.81 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.5927, allocations: 4 kB / 0.81 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5927, allocations: 0 / 0.81 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.5928, allocations: 0 / 0.81 GB, free: 10.88 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002307/0.5951, allocations: 1.5 MB / 0.8115 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.5951, allocations: 7.688 kB / 0.8115 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.5953, allocations: 136.6 kB / 0.8116 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.5964, allocations: 244.3 kB / 0.8119 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5975, allocations: 0.7786 MB / 0.8126 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.5975, allocations: 68.56 kB / 0.8127 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.329e-05/0.5976, allocations: 86.58 kB / 0.8128 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.5991, allocations: 0.9838 MB / 0.8137 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.5991, allocations: 0 / 0.8137 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.5992, allocations: 41.48 kB / 0.8138 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5992, allocations: 20.19 kB / 0.8138 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.601, allocations: 1.164 MB / 0.8149 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.6049, allocations: 3.063 MB / 0.8179 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.6066, allocations: 0.9469 MB / 0.8188 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.6072, allocations: 314.3 kB / 0.8191 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-05/0.6072, allocations: 26.31 kB / 0.8192 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008215/0.6081, allocations: 0.5025 MB / 0.8197 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 1.854e-06/0.6081, allocations: 0 / 0.8197 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.003026/0.6111, allocations: 1.241 MB / 0.8209 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.6112, allocations: 193.2 kB / 0.8211 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.6119, allocations: 0.6286 MB / 0.8217 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.612, allocations: 42.08 kB / 0.8217 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.6123, allocations: 423.2 kB / 0.8221 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.6125, allocations: 275.9 kB / 0.8224 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.6128, allocations: 164.1 kB / 0.8225 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.613, allocations: 383.7 kB / 0.8229 GB, free: 3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.6135, allocations: 257 kB / 0.8231 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.6141, allocations: 391.9 kB / 0.8235 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/0.6151, allocations: 0.6292 MB / 0.8241 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6152, allocations: 0 / 0.8241 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0018/0.617, allocations: 0.8406 MB / 0.825 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.617, allocations: 5.094 kB / 0.825 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.617, allocations: 2.688 kB / 0.825 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.6176, allocations: 83.77 kB / 0.825 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.6182, allocations: 156.3 kB / 0.8252 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.6204, allocations: 1.635 MB / 0.8268 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.6211, allocations: 105.1 kB / 0.8269 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.6211, allocations: 31.83 kB / 0.8269 GB, free: 56 kB / 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.000375/0.6215, allocations: 264.9 kB / 0.8272 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.6217, allocations: 86.88 kB / 0.8273 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.624, allocations: 1.093 MB / 0.8283 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.624, allocations: 9.688 kB / 0.8283 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.624, allocations: 0 / 0.8283 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.624, allocations: 7.984 kB / 0.8283 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.6273, allocations: 2.093 MB / 0.8304 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6273, allocations: 0 / 0.8304 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.6279, allocations: 155.6 kB / 0.8305 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.6283, allocations: 78.12 kB / 0.8306 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.6284, allocations: 23.95 kB / 0.8306 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.6302, allocations: 1.657 MB / 0.8322 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6302, allocations: 4.062 kB / 0.8323 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.6322, allocations: 1.017 MB / 0.8332 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003309/0.6325, allocations: 279.9 kB / 0.8335 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6326, allocations: 16.88 kB / 0.8335 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.6333, allocations: 65.78 kB / 0.8336 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.6334, allocations: 73.41 kB / 0.8337 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.88e-05/0.6335, allocations: 40.97 kB / 0.8337 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005115/0.634, allocations: 461.7 kB / 0.8341 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.014e-06/0.634, allocations: 3.094 kB / 0.8341 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007722/0.6348, allocations: 332.8 kB / 0.8345 GB, free: 10.8 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003837/0.6386, allocations: 2.064 MB / 0.8365 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.6402, allocations: 0.8272 MB / 0.8373 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6402, allocations: 384 / 0.8373 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.6411, allocations: 0.5295 MB / 0.8378 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6423, allocations: 322.5 kB / 0.8381 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009898/0.6522, allocations: 6.375 MB / 0.8443 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.6529, allocations: 1.031 MB / 0.8453 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007807/0.6537, allocations: 274.9 kB / 0.8456 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.6543, allocations: 383.3 kB / 0.846 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of SimCode: time 4.3e-07/0.6543, allocations: 0 / 0.846 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/0.7094, allocations: 22.29 MB / 0.8677 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.92, allocations: 19.36 kB / 0.8678 GB, free: 10.93 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)