Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005774/0.005774, allocations: 103.3 kB / 15.73 MB, free: 6.008 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.001431/0.001431, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0022/0.0022, allocations: 282.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9686/0.9686, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 103.8 kB / 0.6814 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3868, allocations: 86.97 MB / 0.7663 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005334/0.3922, allocations: 4.435 MB / 0.7707 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1391/0.5313, allocations: 150.6 MB / 0.9177 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007415/0.5321, allocations: 19.88 kB / 0.9177 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.5328, allocations: 182.3 kB / 0.9179 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.5346, allocations: 0.5175 MB / 0.9184 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.5366, allocations: 0.8364 MB / 0.9192 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.5381, allocations: 1.347 MB / 0.9206 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009676/0.5391, allocations: 0.6414 MB / 0.9212 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007596/0.5398, allocations: 498.3 kB / 0.9217 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.5406, allocations: 0.5094 MB / 0.9222 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.5408, allocations: 120 kB / 0.9223 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009647/0.5418, allocations: 479.6 kB / 0.9227 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003269/0.5421, allocations: 307 kB / 0.923 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.5428, allocations: 0.5518 MB / 0.9236 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.5447, allocations: 1.626 MB / 0.9251 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5447, allocations: 0 / 0.9251 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5447, allocations: 0 / 0.9251 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.5447, allocations: 0 / 0.9251 GB, free: 0.668 MB / 0.6856 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.002757/0.5475, allocations: 1.454 MB / 0.9266 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5475, allocations: 8.031 kB / 0.9266 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.5487, allocations: 235.3 kB / 0.9268 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.5499, allocations: 0.7656 MB / 0.9275 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.5499, allocations: 66 kB / 0.9276 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.55, allocations: 88 kB / 0.9277 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.5516, allocations: 0.9791 MB / 0.9286 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5517, allocations: 7.938 kB / 0.9287 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.5517, allocations: 36 kB / 0.9287 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.5518, allocations: 24 kB / 0.9287 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.5536, allocations: 1.159 MB / 0.9298 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.5574, allocations: 2.808 MB / 0.9326 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.5591, allocations: 0.9369 MB / 0.9335 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.5596, allocations: 306.7 kB / 0.9338 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/0.5597, allocations: 36.59 kB / 0.9338 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008013/0.5605, allocations: 0.4964 MB / 0.9343 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.415e-06/0.5605, allocations: 0 / 0.9343 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003039/0.5636, allocations: 1.224 MB / 0.9355 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.774e-05/0.5637, allocations: 192.9 kB / 0.9357 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/0.5644, allocations: 0.6332 MB / 0.9363 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.576e-05/0.5644, allocations: 45.7 kB / 0.9364 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.5647, allocations: 416.2 kB / 0.9367 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.5649, allocations: 276 kB / 0.937 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.5652, allocations: 170.5 kB / 0.9372 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5653, allocations: 386.8 kB / 0.9375 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.5658, allocations: 273.8 kB / 0.9378 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/0.5664, allocations: 389.7 kB / 0.9382 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5675, allocations: 0.6384 MB / 0.9388 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5675, allocations: 0 / 0.9388 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001869/0.5694, allocations: 0.876 MB / 0.9397 GB, free: 1.375 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5694, allocations: 8 kB / 0.9397 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5694, allocations: 192 / 0.9397 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.57, allocations: 88.7 kB / 0.9397 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.5707, allocations: 175.7 kB / 0.9399 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.5726, allocations: 1.623 MB / 0.9415 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.5734, allocations: 102.5 kB / 0.9416 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.5735, allocations: 35.98 kB / 0.9416 GB, free: 15.2 MB / 0.7169 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.000429/0.5739, allocations: 279.5 kB / 0.9419 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.574, allocations: 79.06 kB / 0.942 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.5763, allocations: 1.093 MB / 0.943 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5763, allocations: 16 kB / 0.9431 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5763, allocations: 0 / 0.9431 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.587e-06/0.5764, allocations: 3.984 kB / 0.9431 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003347/0.5797, allocations: 2.08 MB / 0.9451 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5797, allocations: 0 / 0.9451 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/0.5803, allocations: 151.8 kB / 0.9452 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.5807, allocations: 68.8 kB / 0.9453 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.5808, allocations: 27.97 kB / 0.9453 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.5825, allocations: 1.662 MB / 0.947 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.5826, allocations: 0 / 0.947 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5844, allocations: 1.017 MB / 0.9479 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.5849, allocations: 271.7 kB / 0.9482 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.585, allocations: 20.05 kB / 0.9482 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.5857, allocations: 67.94 kB / 0.9483 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.5859, allocations: 76.83 kB / 0.9484 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.5859, allocations: 35.98 kB / 0.9484 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005793/0.5865, allocations: 459 kB / 0.9488 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5865, allocations: 0 / 0.9488 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000874/0.5874, allocations: 327.1 kB / 0.9491 GB, free: 7.227 MB / 0.7169 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.001335/0.5888, allocations: 0.6048 MB / 0.9497 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.5905, allocations: 0.8507 MB / 0.9506 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5905, allocations: 384 / 0.9506 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009119/0.5914, allocations: 0.5314 MB / 0.9511 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5927, allocations: 305.8 kB / 0.9514 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.5965, allocations: 1.775 MB / 0.9531 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005802/0.5971, allocations: 1.035 MB / 0.9541 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007636/0.5979, allocations: 274.7 kB / 0.9544 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/0.5981, allocations: 107.4 kB / 0.9545 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of SimCode: time 1.032e-06/0.5982, allocations: 0 / 0.9545 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.3395/0.9376, allocations: 15.79 MB / 0.9699 GB, free: 182.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)