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.001361/0.001361, allocations: 103.1 kB / 16.27 MB, free: 5.93 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.001461/0.001461, allocations: 186.1 kB / 17.2 MB, free: 5.574 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.228/1.228, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 60.12 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2706, allocations: 77.92 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004913/0.2755, allocations: 4.923 MB / 0.5721 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1298/0.4053, allocations: 150.6 MB / 0.7192 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.4063, allocations: 23.81 kB / 0.7192 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006219/0.407, allocations: 194.1 kB / 0.7194 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.4086, allocations: 0.5459 MB / 0.7199 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.4105, allocations: 0.8557 MB / 0.7208 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.4116, allocations: 1.412 MB / 0.7221 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007285/0.4123, allocations: 0.5989 MB / 0.7227 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.4128, allocations: 0.4944 MB / 0.7232 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.4133, allocations: 0.5212 MB / 0.7237 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.4135, allocations: 116 kB / 0.7238 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.4142, allocations: 455.6 kB / 0.7243 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.4144, allocations: 303 kB / 0.7245 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004139/0.4148, allocations: 0.5752 MB / 0.7251 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.4162, allocations: 1.62 MB / 0.7267 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4162, allocations: 0 / 0.7267 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4162, allocations: 0 / 0.7267 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.4162, allocations: 0 / 0.7267 GB, free: 6.984 MB / 0.5606 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.002112/0.4183, allocations: 1.454 MB / 0.7281 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.4184, allocations: 12.62 kB / 0.7281 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.4185, allocations: 143.6 kB / 0.7283 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.4196, allocations: 231.4 kB / 0.7285 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008729/0.4205, allocations: 0.7536 MB / 0.7292 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.4206, allocations: 66 kB / 0.7293 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4207, allocations: 84 kB / 0.7294 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.4221, allocations: 0.9872 MB / 0.7303 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4222, allocations: 3.938 kB / 0.7303 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.4223, allocations: 36 kB / 0.7304 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.4223, allocations: 27.94 kB / 0.7304 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.424, allocations: 1.159 MB / 0.7315 GB, free: 1.887 MB / 0.5606 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.003575/0.4276, allocations: 3.039 MB / 0.7345 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4293, allocations: 0.9447 MB / 0.7354 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004962/0.4298, allocations: 322.7 kB / 0.7357 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.684e-05/0.4299, allocations: 32.59 kB / 0.7358 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007504/0.4306, allocations: 0.5041 MB / 0.7362 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.054e-06/0.4306, allocations: 0 / 0.7362 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.002912/0.4336, allocations: 1.224 MB / 0.7374 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.4337, allocations: 200.9 kB / 0.7376 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.4343, allocations: 0.6371 MB / 0.7383 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.4344, allocations: 41.7 kB / 0.7383 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.4346, allocations: 408.3 kB / 0.7387 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.4348, allocations: 272.1 kB / 0.7389 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.435, allocations: 150.5 kB / 0.7391 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4351, allocations: 390.8 kB / 0.7395 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004719/0.4356, allocations: 257.9 kB / 0.7397 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.4362, allocations: 381.1 kB / 0.7401 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.4372, allocations: 0.6228 MB / 0.7407 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4372, allocations: 4 kB / 0.7407 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001727/0.439, allocations: 0.837 MB / 0.7415 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.439, allocations: 4 kB / 0.7415 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.439, allocations: 0 / 0.7415 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005616/0.4396, allocations: 84.95 kB / 0.7416 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006066/0.4402, allocations: 167.7 kB / 0.7417 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.4421, allocations: 1.634 MB / 0.7433 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.4427, allocations: 97.97 kB / 0.7434 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.4428, allocations: 31.97 kB / 0.7435 GB, free: 5.156 MB / 0.5762 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.0003254/0.4431, allocations: 265.6 kB / 0.7437 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.4432, allocations: 83.06 kB / 0.7438 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.4455, allocations: 1.093 MB / 0.7449 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.4455, allocations: 12 kB / 0.7449 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.4455, allocations: 0 / 0.7449 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.4455, allocations: 4.031 kB / 0.7449 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.4486, allocations: 2.115 MB / 0.7469 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4486, allocations: 0 / 0.7469 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.4492, allocations: 147.8 kB / 0.7471 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000428/0.4496, allocations: 76.78 kB / 0.7472 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.4497, allocations: 23.98 kB / 0.7472 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1882/0.6379, allocations: 1.657 MB / 0.7488 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6379, allocations: 2 kB / 0.7488 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.64, allocations: 1.014 MB / 0.7498 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.6403, allocations: 272.4 kB / 0.75 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.6405, allocations: 22.5 kB / 0.7501 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.6411, allocations: 61.88 kB / 0.7501 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.6413, allocations: 73.61 kB / 0.7502 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.6414, allocations: 41.44 kB / 0.7502 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005375/0.6419, allocations: 464.7 kB / 0.7507 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6419, allocations: 0 / 0.7507 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008109/0.6427, allocations: 325.1 kB / 0.751 GB, free: 169.4 MB / 0.5762 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.003125/0.6459, allocations: 2.062 MB / 0.753 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002268/0.6482, allocations: 1.031 MB / 0.754 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6482, allocations: 0.5312 kB / 0.754 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009693/0.6492, allocations: 0.5277 MB / 0.7545 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.6504, allocations: 325.7 kB / 0.7548 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008566/0.659, allocations: 6.565 MB / 0.7612 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.6595, allocations: 1.03 MB / 0.7623 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008027/0.6603, allocations: 275.6 kB / 0.7625 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.6607, allocations: 391.3 kB / 0.7629 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6607, allocations: 0.9375 kB / 0.7629 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/0.7031, allocations: 22.06 MB / 0.7844 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.05, allocations: 14.95 kB / 0.7844 GB, free: 149.5 MB / 0.5762 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)