Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001434/0.001434, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001797/0.001797, allocations: 189.3 kB / 16.13 MB, free: 6.656 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.3 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3184, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006823/0.3252, allocations: 4.94 MB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.4985, allocations: 148.3 MB / 1.217 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.4998, allocations: 15.94 kB / 1.217 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.5007, allocations: 146.8 kB / 1.217 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002049/0.5028, allocations: 489.2 kB / 1.218 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.5053, allocations: 0.738 MB / 1.219 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.5072, allocations: 1.323 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.5083, allocations: 0.5906 MB / 1.22 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008773/0.5092, allocations: 434.3 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.51, allocations: 0.4899 MB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.5102, allocations: 56 kB / 1.221 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.5113, allocations: 391.7 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.5117, allocations: 247 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006697/0.5124, allocations: 0.5127 MB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.5146, allocations: 1.554 MB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5146, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5146, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.574e-05/0.5147, allocations: 0 / 1.224 GB, free: 10.07 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.003848/0.5185, allocations: 1.466 MB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.5186, allocations: 8.031 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.5201, allocations: 231.3 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.5215, allocations: 0.7422 MB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.5215, allocations: 69.94 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.5217, allocations: 84 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.5238, allocations: 0.9833 MB / 1.227 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.5238, allocations: 4 kB / 1.227 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.524, allocations: 40 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.524, allocations: 20 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.5263, allocations: 1.163 MB / 1.229 GB, free: 5.125 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.005094/0.5314, allocations: 3.033 MB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.5334, allocations: 0.9576 MB / 1.233 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.534, allocations: 306.7 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-05/0.5341, allocations: 32.61 kB / 1.233 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009751/0.5351, allocations: 0.5003 MB / 1.233 GB, free: 120 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 4.399e-06/0.5351, allocations: 0 / 1.233 GB, free: 120 kB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003412/0.5386, allocations: 1.231 MB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/0.5387, allocations: 188.9 kB / 1.235 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.5396, allocations: 0.6332 MB / 1.235 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.5397, allocations: 45.7 kB / 1.235 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/0.54, allocations: 416.2 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.5403, allocations: 272 kB / 1.236 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.5406, allocations: 170.5 kB / 1.236 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.5408, allocations: 390.7 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.5414, allocations: 269.9 kB / 1.237 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.5422, allocations: 393.6 kB / 1.237 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.5435, allocations: 0.6463 MB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5435, allocations: 0 / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002308/0.5458, allocations: 0.8877 MB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5458, allocations: 4 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.5458, allocations: 4 kB / 1.239 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006442/0.5465, allocations: 84.95 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007352/0.5472, allocations: 171.7 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.5494, allocations: 1.524 MB / 1.24 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/0.5503, allocations: 105.8 kB / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-05/0.5504, allocations: 35.97 kB / 1.241 GB, free: 8.398 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.0004935/0.5509, allocations: 283.8 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5511, allocations: 82.97 kB / 1.241 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/0.5537, allocations: 1.085 MB / 1.242 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.5537, allocations: 11.94 kB / 1.242 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5537, allocations: 7.984 kB / 1.242 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.5537, allocations: 8.016 kB / 1.242 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003954/0.5577, allocations: 2.086 MB / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5577, allocations: 0 / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.5583, allocations: 151.8 kB / 1.244 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/0.5589, allocations: 84.77 kB / 1.244 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.559, allocations: 23.98 kB / 1.244 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.5609, allocations: 1.551 MB / 1.246 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5609, allocations: 4.062 kB / 1.246 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.5631, allocations: 1.008 MB / 1.247 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.5636, allocations: 275.7 kB / 1.247 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.5637, allocations: 23.94 kB / 1.247 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/0.5645, allocations: 63.94 kB / 1.247 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.5647, allocations: 72.89 kB / 1.247 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/0.5648, allocations: 35.97 kB / 1.247 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006317/0.5655, allocations: 467 kB / 1.248 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.5655, allocations: 0 / 1.248 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009405/0.5664, allocations: 327.2 kB / 1.248 GB, free: 0.5117 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.001557/0.568, allocations: 0.6134 MB / 1.249 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4924/1.06, allocations: 0.8434 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.06, allocations: 0.625 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.062, allocations: 0.5291 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.063, allocations: 290.3 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/1.067, allocations: 2.101 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005926/1.068, allocations: 1.034 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001084/1.069, allocations: 267.6 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003441/1.069, allocations: 103.8 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.069, allocations: 0.875 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02839/1.097, allocations: 15.06 MB / 1.268 GB, free: 180 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)