Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, 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.00112/0.00112, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 63.19 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.309, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006794/0.3159, allocations: 4.932 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.4642, allocations: 148.3 MB / 1.217 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.465, allocations: 19.88 kB / 1.217 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007466/0.4658, allocations: 154.8 kB / 1.217 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.4678, allocations: 473.2 kB / 1.218 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.4699, allocations: 0.7438 MB / 1.219 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.4716, allocations: 1.326 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.4727, allocations: 0.5791 MB / 1.22 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.4735, allocations: 442.2 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.4742, allocations: 485.8 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.4743, allocations: 60 kB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009026/0.4752, allocations: 399.6 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.4755, allocations: 239 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005755/0.4761, allocations: 0.5166 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.4776, allocations: 1.565 MB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4777, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4777, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.067e-05/0.4777, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 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.002555/0.4802, allocations: 1.458 MB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.4803, allocations: 12.03 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.4815, allocations: 231.2 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.4826, allocations: 0.75 MB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/0.4826, allocations: 70 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4827, allocations: 80 kB / 1.226 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.4844, allocations: 0.9901 MB / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4844, allocations: 0 / 1.227 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.4845, allocations: 36 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.4846, allocations: 24 kB / 1.228 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.4865, allocations: 1.167 MB / 1.229 GB, free: 5.145 MB / 0.9825 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.004194/0.4907, allocations: 3.033 MB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4924, allocations: 0.9476 MB / 1.233 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.493, allocations: 310.7 kB / 1.233 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.4931, allocations: 32.59 kB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009357/0.494, allocations: 0.5003 MB / 1.233 GB, free: 148 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.334e-06/0.494, allocations: 0 / 1.233 GB, free: 148 kB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003258/0.4973, allocations: 1.231 MB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.4974, allocations: 192.9 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007594/0.4982, allocations: 0.6293 MB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/0.4983, allocations: 45.69 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.4986, allocations: 412.2 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.4988, allocations: 268.1 kB / 1.236 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.4991, allocations: 170.5 kB / 1.236 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4992, allocations: 386.8 kB / 1.237 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.4998, allocations: 277.8 kB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006344/0.5004, allocations: 389.7 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.5017, allocations: 0.6384 MB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.5018, allocations: 8 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002086/0.5039, allocations: 0.8877 MB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5039, allocations: 8 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5039, allocations: 0 / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.5046, allocations: 92.86 kB / 1.239 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.5053, allocations: 171.8 kB / 1.239 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.5074, allocations: 1.529 MB / 1.24 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.5083, allocations: 99.22 kB / 1.241 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.5084, allocations: 39.97 kB / 1.241 GB, free: 8.422 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (100): * Single equations (assignments): 99 * 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.0005301/0.5089, allocations: 279.5 kB / 1.241 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.5091, allocations: 82.97 kB / 1.241 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.5117, allocations: 1.081 MB / 1.242 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5117, allocations: 19.88 kB / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.5117, allocations: 0 / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.5117, allocations: 3.984 kB / 1.242 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003596/0.5153, allocations: 2.09 MB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.5153, allocations: 4 kB / 1.244 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006287/0.516, allocations: 147.7 kB / 1.244 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.5165, allocations: 84.77 kB / 1.244 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-05/0.5166, allocations: 23.98 kB / 1.244 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.5186, allocations: 1.559 MB / 1.246 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5186, allocations: 0 / 1.246 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5209, allocations: 1.019 MB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.5214, allocations: 267.7 kB / 1.247 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.5216, allocations: 24 kB / 1.247 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.5223, allocations: 63.92 kB / 1.247 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.5225, allocations: 72.89 kB / 1.247 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/0.5226, allocations: 35.98 kB / 1.247 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007109/0.5233, allocations: 455 kB / 1.248 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5233, allocations: 4 kB / 1.248 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001097/0.5244, allocations: 335.2 kB / 1.248 GB, free: 0.5352 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.001545/0.526, allocations: 0.6126 MB / 1.249 GB, free: 96 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4684/0.9944, allocations: 0.8468 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.9944, allocations: 2.844 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.9955, allocations: 0.5201 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.997, allocations: 289 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/1, allocations: 2.104 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/1.001, allocations: 1.028 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001084/1.002, allocations: 271.2 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003092/1.003, allocations: 106 kB / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.003, allocations: 0 / 1.254 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0314/1.034, allocations: 15.07 MB / 1.268 GB, free: 179.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)