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.00147/0.00147, allocations: 104.6 kB / 16.4 MB, free: 6.457 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.001571/0.001572, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 69.62 kB / 0.5679 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1198, allocations: 77.93 MB / 0.644 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005952/0.1257, allocations: 4.919 MB / 0.6488 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4361/0.5618, allocations: 150.6 MB / 0.7959 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.5626, allocations: 19.19 kB / 0.7959 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.5631, allocations: 194.4 kB / 0.7961 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.5645, allocations: 0.5584 MB / 0.7967 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.566, allocations: 0.8537 MB / 0.7975 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009956/0.567, allocations: 1.427 MB / 0.7989 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006981/0.5677, allocations: 0.6054 MB / 0.7995 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.5682, allocations: 0.4987 MB / 0.8 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.5686, allocations: 0.5161 MB / 0.8005 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.5688, allocations: 116.9 kB / 0.8006 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.5694, allocations: 490.1 kB / 0.8011 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.5697, allocations: 301.3 kB / 0.8014 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.5701, allocations: 0.5732 MB / 0.8019 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.5715, allocations: 1.666 MB / 0.8035 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5715, allocations: 0 / 0.8035 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5715, allocations: 2.688 kB / 0.8035 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.5715, allocations: 0 / 0.8035 GB, free: 11.58 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.002179/0.5737, allocations: 1.505 MB / 0.805 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.5737, allocations: 11.06 kB / 0.805 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.5739, allocations: 138.4 kB / 0.8052 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.575, allocations: 240.1 kB / 0.8054 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5761, allocations: 0.774 MB / 0.8061 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.5761, allocations: 66.19 kB / 0.8062 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.847e-05/0.5762, allocations: 85.09 kB / 0.8063 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5777, allocations: 0.9871 MB / 0.8072 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.5777, allocations: 0 / 0.8072 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.5778, allocations: 41.14 kB / 0.8073 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5778, allocations: 22.62 kB / 0.8073 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.5795, allocations: 1.168 MB / 0.8085 GB, free: 9.723 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.5832, allocations: 3.023 MB / 0.8114 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.5848, allocations: 0.9458 MB / 0.8123 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.5853, allocations: 315.8 kB / 0.8126 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.927e-05/0.5854, allocations: 31.66 kB / 0.8127 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007733/0.5862, allocations: 0.4957 MB / 0.8131 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.365e-06/0.5862, allocations: 0 / 0.8131 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.002925/0.5891, allocations: 1.234 MB / 0.8143 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.5892, allocations: 195 kB / 0.8145 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006566/0.5899, allocations: 0.6343 MB / 0.8152 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.5899, allocations: 44.98 kB / 0.8152 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.5902, allocations: 415.7 kB / 0.8156 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.5904, allocations: 285 kB / 0.8159 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.5907, allocations: 156.7 kB / 0.816 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.5908, allocations: 391.1 kB / 0.8164 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004795/0.5913, allocations: 259.4 kB / 0.8166 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.5919, allocations: 383.6 kB / 0.817 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.5929, allocations: 0.6187 MB / 0.8176 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5929, allocations: 4 kB / 0.8176 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001748/0.5947, allocations: 0.8428 MB / 0.8184 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5947, allocations: 9.562 kB / 0.8184 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5947, allocations: 1.312 kB / 0.8184 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.5953, allocations: 86.25 kB / 0.8185 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.5959, allocations: 163.9 kB / 0.8187 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.5978, allocations: 1.625 MB / 0.8203 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.5985, allocations: 110.1 kB / 0.8204 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.5985, allocations: 30.55 kB / 0.8204 GB, free: 2.25 MB / 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.0003551/0.5989, allocations: 269.3 kB / 0.8207 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.599, allocations: 93.98 kB / 0.8207 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.6012, allocations: 1.086 MB / 0.8218 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6013, allocations: 10 kB / 0.8218 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6013, allocations: 0 / 0.8218 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6013, allocations: 7.969 kB / 0.8218 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.6045, allocations: 2.088 MB / 0.8239 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.6045, allocations: 0 / 0.8239 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.6051, allocations: 167.5 kB / 0.824 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/0.6055, allocations: 66.7 kB / 0.8241 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.6056, allocations: 27.75 kB / 0.8241 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.6073, allocations: 1.66 MB / 0.8257 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6073, allocations: 0 / 0.8257 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.6092, allocations: 1.019 MB / 0.8267 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.6095, allocations: 275.5 kB / 0.827 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.6097, allocations: 25.95 kB / 0.827 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.6103, allocations: 61.08 kB / 0.8271 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6105, allocations: 75.95 kB / 0.8271 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/0.6106, allocations: 42.33 kB / 0.8272 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005029/0.6111, allocations: 459.5 kB / 0.8276 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6111, allocations: 0 / 0.8276 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008182/0.6119, allocations: 338.1 kB / 0.8279 GB, free: 12.98 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.003301/0.6152, allocations: 2.064 MB / 0.83 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.6168, allocations: 0.8324 MB / 0.8308 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6168, allocations: 0 / 0.8308 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/0.6176, allocations: 0.521 MB / 0.8313 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6189, allocations: 326.8 kB / 0.8316 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/0.6284, allocations: 6.368 MB / 0.8378 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.6289, allocations: 1.027 MB / 0.8388 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007528/0.6297, allocations: 270.9 kB / 0.8391 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.6302, allocations: 399.3 kB / 0.8395 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.6302, allocations: 0 / 0.8395 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04874/0.6789, allocations: 22.29 MB / 0.8612 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.58, allocations: 11.42 kB / 0.8612 GB, free: 14.28 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)