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.0009461/0.0009462, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005037/0.005037, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.725/2.725, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 11.41 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005509/0.339, allocations: 4.516 MB / 1.079 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.4994, allocations: 146.7 MB / 1.222 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005978/0.5, allocations: 15.88 kB / 1.222 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.5005, allocations: 154.8 kB / 1.222 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.5018, allocations: 472.9 kB / 1.222 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.5035, allocations: 0.741 MB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.5047, allocations: 1.326 MB / 1.224 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/0.5055, allocations: 0.5673 MB / 1.225 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.506, allocations: 366.2 kB / 1.225 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.5065, allocations: 401.8 kB / 1.226 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.586e-05/0.5066, allocations: 24 kB / 1.226 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006474/0.5072, allocations: 371.6 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.5074, allocations: 187.1 kB / 1.226 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.5079, allocations: 486.8 kB / 1.227 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.5093, allocations: 1.507 MB / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5093, allocations: 0 / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5093, allocations: 0 / 1.228 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.5093, allocations: 3.938 kB / 1.228 GB, free: 9.141 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.002185/0.5115, allocations: 1.252 MB / 1.229 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5115, allocations: 12.03 kB / 1.229 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5128, allocations: 251.3 kB / 1.23 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5138, allocations: 0.746 MB / 1.23 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.5139, allocations: 73.92 kB / 1.231 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.514, allocations: 84 kB / 1.231 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.5158, allocations: 0.9911 MB / 1.232 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5158, allocations: 0 / 1.232 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-05/0.5159, allocations: 40 kB / 1.232 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.5159, allocations: 20 kB / 1.232 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.518, allocations: 1.19 MB / 1.233 GB, free: 4.348 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.004421/0.5224, allocations: 3.063 MB / 1.236 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.5243, allocations: 0.9733 MB / 1.237 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.525, allocations: 306.8 kB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.5251, allocations: 36.52 kB / 1.237 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009001/0.526, allocations: 0.5146 MB / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.805e-06/0.526, allocations: 0 / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.003302/0.5293, allocations: 1.239 MB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5294, allocations: 200.9 kB / 1.239 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007796/0.5302, allocations: 0.6293 MB / 1.24 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/0.5303, allocations: 41.7 kB / 1.24 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/0.5306, allocations: 412.2 kB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.5308, allocations: 272.1 kB / 1.24 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.531, allocations: 73.67 kB / 1.24 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5311, allocations: 386.8 kB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005752/0.5317, allocations: 281.8 kB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.5324, allocations: 393.7 kB / 1.241 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.5336, allocations: 0.6579 MB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5336, allocations: 0 / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001992/0.5356, allocations: 0.8916 MB / 1.243 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5357, allocations: 8 kB / 1.243 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.5357, allocations: 0 / 1.243 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.5364, allocations: 92.89 kB / 1.243 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.5371, allocations: 171.8 kB / 1.243 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002133/0.5392, allocations: 1.529 MB / 1.245 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/0.54, allocations: 111.3 kB / 1.245 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.5401, allocations: 39.97 kB / 1.245 GB, free: 7.602 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.0004506/0.5406, allocations: 275.9 kB / 1.245 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5407, allocations: 82.97 kB / 1.245 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.5431, allocations: 1.097 MB / 1.246 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.5432, allocations: 15.94 kB / 1.246 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.5432, allocations: 48 / 1.246 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5432, allocations: 7.969 kB / 1.246 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.5467, allocations: 2.102 MB / 1.248 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5467, allocations: 0 / 1.248 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.5473, allocations: 155.8 kB / 1.248 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005122/0.5478, allocations: 84.72 kB / 1.248 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.5479, allocations: 27.97 kB / 1.249 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.5498, allocations: 1.555 MB / 1.25 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5498, allocations: 0 / 1.25 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.5518, allocations: 1.023 MB / 1.251 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.5523, allocations: 283.7 kB / 1.251 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.5524, allocations: 27.94 kB / 1.251 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.5531, allocations: 87.92 kB / 1.251 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.5533, allocations: 68.89 kB / 1.251 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.5534, allocations: 35.98 kB / 1.252 GB, free: 424 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5481/1.102, allocations: 455.5 kB / 1.252 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/1.102, allocations: 0 / 1.252 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001332/1.103, allocations: 335.6 kB / 1.252 GB, free: 180.7 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.001479/1.104, allocations: 0.605 MB / 1.253 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001901/1.106, allocations: 0.8608 MB / 1.254 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.106, allocations: 2.516 kB / 1.254 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009825/1.107, allocations: 0.5297 MB / 1.254 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.109, allocations: 290.4 kB / 1.254 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/1.112, allocations: 2.127 MB / 1.257 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/1.113, allocations: 1.031 MB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009874/1.114, allocations: 270.3 kB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/1.114, allocations: 105.9 kB / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.114, allocations: 0 / 1.258 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.02982/1.144, allocations: 14.97 MB / 1.273 GB, free: 176.7 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)