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.001343/0.001343, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001287/0.001287, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 66.06 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3066, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006342/0.313, allocations: 4.949 MB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1583/0.4714, allocations: 148.4 MB / 1.217 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.4723, allocations: 19.88 kB / 1.217 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006492/0.473, allocations: 150.8 kB / 1.218 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.4747, allocations: 0.4933 MB / 1.218 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.4766, allocations: 0.7553 MB / 1.219 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.4781, allocations: 1.416 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.479, allocations: 0.6027 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006608/0.4797, allocations: 0.4944 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005497/0.4802, allocations: 0.5212 MB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.4804, allocations: 116 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008199/0.4812, allocations: 463.6 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.4815, allocations: 299 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.482, allocations: 0.5713 MB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.4836, allocations: 1.612 MB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4836, allocations: 0 / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4836, allocations: 3.938 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.4837, allocations: 0 / 1.225 GB, free: 9.387 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.002535/0.4862, allocations: 1.462 MB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4862, allocations: 8.031 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.4875, allocations: 235.2 kB / 1.226 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.4885, allocations: 0.75 MB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.4886, allocations: 66 kB / 1.227 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.4887, allocations: 84 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4905, allocations: 0.9833 MB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.4905, allocations: 4 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.4906, allocations: 40 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.4906, allocations: 20 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.4925, allocations: 1.163 MB / 1.229 GB, free: 4.434 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.004178/0.4967, allocations: 3.033 MB / 1.232 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4985, allocations: 0.9576 MB / 1.233 GB, free: 288 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.4991, allocations: 306.7 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.391e-05/0.4992, allocations: 32.55 kB / 1.234 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009352/0.5001, allocations: 0.5003 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.256e-06/0.5001, allocations: 0 / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.003256/0.5034, allocations: 1.231 MB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.5035, allocations: 192.9 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007622/0.5043, allocations: 0.6293 MB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.5044, allocations: 41.7 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.5047, allocations: 424.2 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5049, allocations: 264.1 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.5051, allocations: 174.5 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5053, allocations: 386.8 kB / 1.237 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005068/0.5058, allocations: 273.8 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.5064, allocations: 393.7 kB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.5075, allocations: 0.6423 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5075, allocations: 0 / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001981/0.5095, allocations: 0.8877 MB / 1.24 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5096, allocations: 4 kB / 1.24 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.5096, allocations: 0 / 1.24 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.5102, allocations: 88.95 kB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.5109, allocations: 171.8 kB / 1.24 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.513, allocations: 1.646 MB / 1.241 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.5138, allocations: 95.23 kB / 1.241 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/0.5139, allocations: 39.97 kB / 1.242 GB, free: 7.586 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.0004668/0.5144, allocations: 275.4 kB / 1.242 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.5145, allocations: 86.91 kB / 1.242 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/0.5169, allocations: 1.081 MB / 1.243 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.5169, allocations: 8 kB / 1.243 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.5169, allocations: 0 / 1.243 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5169, allocations: 11.91 kB / 1.243 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.5203, allocations: 2.094 MB / 1.245 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5203, allocations: 0 / 1.245 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.5209, allocations: 147.8 kB / 1.245 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.5214, allocations: 76.77 kB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.5214, allocations: 23.98 kB / 1.245 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.5233, allocations: 1.67 MB / 1.247 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5233, allocations: 0 / 1.247 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.5253, allocations: 1.016 MB / 1.248 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.5256, allocations: 267.7 kB / 1.248 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5257, allocations: 20 kB / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.5264, allocations: 74.08 kB / 1.248 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.5266, allocations: 76.83 kB / 1.248 GB, free: 408 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-05/0.5267, allocations: 35.98 kB / 1.248 GB, free: 372 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5933/1.12, allocations: 454.5 kB / 1.249 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/1.12, allocations: 0.7812 kB / 1.249 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001346/1.121, allocations: 329 kB / 1.249 GB, free: 184.2 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.001378/1.123, allocations: 0.5994 MB / 1.25 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002596/1.125, allocations: 1.068 MB / 1.251 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.125, allocations: 3.188 kB / 1.251 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.126, allocations: 0.5221 MB / 1.251 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.128, allocations: 325.2 kB / 1.251 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/1.131, allocations: 2.107 MB / 1.254 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/1.132, allocations: 1.029 MB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001002/1.133, allocations: 265 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/1.133, allocations: 113.6 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 1.392e-06/1.133, allocations: 0.8125 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of Templates: time 0.03079/1.164, allocations: 15.64 MB / 1.27 GB, free: 179.8 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)