Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 461.8 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 61.72 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2725, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006154/0.2787, allocations: 4.946 MB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.4239, allocations: 148.3 MB / 1.202 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008066/0.4247, allocations: 19.88 kB / 1.202 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007268/0.4255, allocations: 150.8 kB / 1.202 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.4273, allocations: 472.7 kB / 1.202 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.4292, allocations: 0.7521 MB / 1.203 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.4306, allocations: 1.319 MB / 1.205 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007743/0.4314, allocations: 0.5906 MB / 1.205 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.4319, allocations: 442.2 kB / 1.206 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.4324, allocations: 489.7 kB / 1.206 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.4325, allocations: 56 kB / 1.206 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.4333, allocations: 399.6 kB / 1.206 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.4336, allocations: 239 kB / 1.207 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.434, allocations: 0.5205 MB / 1.207 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.4354, allocations: 1.565 MB / 1.209 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4354, allocations: 4 kB / 1.209 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.003e-06/0.4354, allocations: 0 / 1.209 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.4354, allocations: 3.938 kB / 1.209 GB, free: 7.402 MB / 0.9669 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.002431/0.4379, allocations: 1.454 MB / 1.21 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4379, allocations: 8.031 kB / 1.21 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.4381, allocations: 147.6 kB / 1.21 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.4392, allocations: 231.3 kB / 1.21 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/0.4402, allocations: 0.7498 MB / 1.211 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.4402, allocations: 66 kB / 1.211 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.4403, allocations: 84 kB / 1.211 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.4419, allocations: 0.9833 MB / 1.212 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.4419, allocations: 0 / 1.212 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.442, allocations: 40 kB / 1.212 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.442, allocations: 20 kB / 1.212 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.4438, allocations: 1.167 MB / 1.214 GB, free: 2.316 MB / 0.9669 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.003801/0.4476, allocations: 3.033 MB / 1.216 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.4493, allocations: 0.9514 MB / 1.217 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/0.4499, allocations: 318.7 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.45, allocations: 24.62 kB / 1.218 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009019/0.4509, allocations: 0.5111 MB / 1.218 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 1.904e-06/0.4509, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003032/0.454, allocations: 1.231 MB / 1.219 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.4541, allocations: 188.9 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.4547, allocations: 0.6294 MB / 1.22 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.4548, allocations: 41.7 kB / 1.22 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.4551, allocations: 420.1 kB / 1.221 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.4553, allocations: 268.1 kB / 1.221 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.4555, allocations: 150.5 kB / 1.221 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.4557, allocations: 394.7 kB / 1.221 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.4562, allocations: 253.9 kB / 1.222 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.4568, allocations: 381.1 kB / 1.222 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.4578, allocations: 0.6267 MB / 1.223 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4578, allocations: 0 / 1.223 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001753/0.4596, allocations: 0.8407 MB / 1.223 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4596, allocations: 4 kB / 1.223 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.4596, allocations: 0 / 1.223 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.4602, allocations: 88.95 kB / 1.224 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.4608, allocations: 155.8 kB / 1.224 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.4627, allocations: 1.524 MB / 1.225 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006064/0.4633, allocations: 91.23 kB / 1.225 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.4634, allocations: 40.03 kB / 1.225 GB, free: 5.715 MB / 0.9825 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.0003323/0.4637, allocations: 273.5 kB / 1.226 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.4639, allocations: 83.16 kB / 1.226 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.4661, allocations: 1.101 MB / 1.227 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4661, allocations: 8 kB / 1.227 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4661, allocations: 0 / 1.227 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4661, allocations: 3.984 kB / 1.227 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.4692, allocations: 2.098 MB / 1.229 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4692, allocations: 0 / 1.229 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/0.4698, allocations: 151.8 kB / 1.229 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000474/0.4703, allocations: 84.77 kB / 1.229 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.4703, allocations: 27.98 kB / 1.229 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.472, allocations: 1.551 MB / 1.231 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.472, allocations: 0 / 1.231 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4738, allocations: 1.012 MB / 1.232 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.4741, allocations: 279.7 kB / 1.232 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.4742, allocations: 19.98 kB / 1.232 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.4749, allocations: 65.95 kB / 1.232 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.475, allocations: 76.89 kB / 1.232 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.4751, allocations: 35.97 kB / 1.232 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004734/0.4756, allocations: 467 kB / 1.232 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4756, allocations: 3.938 kB / 1.232 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007352/0.4763, allocations: 323.2 kB / 1.233 GB, free: 13.82 MB / 0.9981 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.003216/0.4795, allocations: 2.052 MB / 1.235 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.481, allocations: 0.8194 MB / 1.236 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.481, allocations: 4 kB / 1.236 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.4818, allocations: 0.5318 MB / 1.236 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.483, allocations: 291.6 kB / 1.236 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.4931, allocations: 6.97 MB / 1.243 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.4937, allocations: 1.028 MB / 1.244 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007827/0.4945, allocations: 274.9 kB / 1.244 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.495, allocations: 391.3 kB / 1.245 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.495, allocations: 4 kB / 1.245 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.434/3.929, allocations: 21.26 MB / 1.266 GB, free: 188 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/3.929, allocations: 302 kB / 1.266 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/6.131, allocations: 0 / 1.266 GB, free: 187.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)