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.001533/0.001533, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.84 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3275, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006519/0.334, allocations: 4.937 MB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.486, allocations: 150.7 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.4872, allocations: 19.94 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.4882, allocations: 182.2 kB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.4908, allocations: 0.5508 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.4931, allocations: 0.8548 MB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001922/0.495, allocations: 1.405 MB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009724/0.496, allocations: 0.6066 MB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.4968, allocations: 0.4905 MB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007101/0.4975, allocations: 0.5211 MB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.4977, allocations: 120 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009515/0.4987, allocations: 451.7 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.499, allocations: 299.1 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005983/0.4996, allocations: 0.5714 MB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001694/0.5013, allocations: 1.62 MB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5014, allocations: 0 / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5014, allocations: 0 / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.5014, allocations: 0 / 1.228 GB, free: 6.559 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.002382/0.5038, allocations: 1.454 MB / 1.229 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5038, allocations: 16.03 kB / 1.229 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.505, allocations: 223.3 kB / 1.229 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009647/0.506, allocations: 0.7577 MB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.5061, allocations: 62 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5062, allocations: 87.98 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.5077, allocations: 0.9911 MB / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.5078, allocations: 0 / 1.231 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.121e-05/0.5078, allocations: 39.94 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5079, allocations: 20 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.5097, allocations: 1.167 MB / 1.232 GB, free: 1.605 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.004079/0.5138, allocations: 3.037 MB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.5158, allocations: 0.9438 MB / 1.236 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005376/0.5163, allocations: 318.6 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.121e-05/0.5164, allocations: 24.62 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000857/0.5173, allocations: 0.5081 MB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/0.5173, allocations: 0 / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.003209/0.5205, allocations: 1.235 MB / 1.238 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.5206, allocations: 192.9 kB / 1.238 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.5214, allocations: 0.6293 MB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.5214, allocations: 41.7 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.5217, allocations: 412.3 kB / 1.239 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.522, allocations: 276.1 kB / 1.24 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.5222, allocations: 166.5 kB / 1.24 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5224, allocations: 386.8 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.5229, allocations: 273.8 kB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.5235, allocations: 393.7 kB / 1.241 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.5246, allocations: 0.6462 MB / 1.241 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5246, allocations: 0 / 1.241 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001934/0.5266, allocations: 0.8916 MB / 1.242 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5266, allocations: 4 kB / 1.242 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5266, allocations: 4 kB / 1.242 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.5272, allocations: 80.97 kB / 1.242 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.5279, allocations: 171.8 kB / 1.243 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.53, allocations: 1.634 MB / 1.244 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/0.5308, allocations: 96.28 kB / 1.244 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.5308, allocations: 39.97 kB / 1.244 GB, free: 4.77 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.0004147/0.5313, allocations: 267.6 kB / 1.245 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.5314, allocations: 86.95 kB / 1.245 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.5337, allocations: 1.093 MB / 1.246 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5337, allocations: 12 kB / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.5338, allocations: 0 / 1.246 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5338, allocations: 3.984 kB / 1.246 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00333/0.5371, allocations: 2.098 MB / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5371, allocations: 0 / 1.248 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.5377, allocations: 155.7 kB / 1.248 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.5381, allocations: 72.78 kB / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.5382, allocations: 23.98 kB / 1.248 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4666/1.005, allocations: 1.659 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.005, allocations: 1.719 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.007, allocations: 1.012 MB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/1.008, allocations: 271.2 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/1.008, allocations: 22.17 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/1.008, allocations: 60.92 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.009, allocations: 73.31 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/1.009, allocations: 38.03 kB / 1.251 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005899/1.009, allocations: 456.7 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.009, allocations: 1.594 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008898/1.01, allocations: 327.8 kB / 1.252 GB, free: 182.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.001308/1.011, allocations: 0.6127 MB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00244/1.014, allocations: 1.07 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.014, allocations: 0 / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000958/1.015, allocations: 0.5198 MB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/1.016, allocations: 334.1 kB / 1.254 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/1.019, allocations: 1.698 MB / 1.256 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/1.019, allocations: 1.035 MB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008014/1.02, allocations: 273 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/1.02, allocations: 109.2 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.02, allocations: 1.469 kB / 1.257 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.02562/1.046, allocations: 15.71 MB / 1.273 GB, free: 177.9 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)