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.001612/0.001612, allocations: 114.7 kB / 16.42 MB, free: 6.031 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.001729/0.001729, allocations: 190 kB / 17.35 MB, free: 5.633 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.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002215/0.002215, allocations: 286.5 kB / 291.5 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.9354/0.9354, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002951/0.002951, allocations: 99.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3902, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005886/0.3961, allocations: 4.435 MB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1495/0.5457, allocations: 150.6 MB / 0.9184 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006624/0.5463, allocations: 19.88 kB / 0.9184 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.547, allocations: 174.3 kB / 0.9186 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.5487, allocations: 0.5195 MB / 0.9191 GB, free: 7.574 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.5506, allocations: 0.842 MB / 0.9199 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.552, allocations: 1.347 MB / 0.9212 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008823/0.5529, allocations: 0.6492 MB / 0.9219 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006543/0.5536, allocations: 0.4905 MB / 0.9223 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006156/0.5542, allocations: 0.4978 MB / 0.9228 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.5544, allocations: 116 kB / 0.9229 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000845/0.5553, allocations: 491.6 kB / 0.9234 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002833/0.5556, allocations: 303 kB / 0.9237 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.5562, allocations: 0.5557 MB / 0.9242 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.558, allocations: 1.626 MB / 0.9258 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.558, allocations: 0 / 0.9258 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.282e-06/0.558, allocations: 7.875 kB / 0.9258 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.38e-05/0.5581, allocations: 0 / 0.9258 GB, free: 0.6367 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.002786/0.5608, allocations: 1.446 MB / 0.9273 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.5609, allocations: 8.031 kB / 0.9273 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.5622, allocations: 231.2 kB / 0.9275 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5634, allocations: 0.7734 MB / 0.9282 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.5634, allocations: 66 kB / 0.9283 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5635, allocations: 84 kB / 0.9284 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.5653, allocations: 0.9794 MB / 0.9293 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.5654, allocations: 7.938 kB / 0.9293 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.08e-05/0.5655, allocations: 36 kB / 0.9294 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.5655, allocations: 20 kB / 0.9294 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.5675, allocations: 1.163 MB / 0.9305 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.5717, allocations: 2.797 MB / 0.9333 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.5735, allocations: 0.9408 MB / 0.9342 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.5741, allocations: 306.7 kB / 0.9345 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.437e-05/0.5742, allocations: 36.53 kB / 0.9345 GB, free: 7.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.5751, allocations: 0.5003 MB / 0.935 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.715e-06/0.5751, allocations: 0 / 0.935 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.00326/0.5784, allocations: 1.227 MB / 0.9362 GB, free: 5.73 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.5785, allocations: 188.9 kB / 0.9364 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/0.5792, allocations: 0.6293 MB / 0.937 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/0.5793, allocations: 41.7 kB / 0.937 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.5796, allocations: 416.2 kB / 0.9374 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.5798, allocations: 268.1 kB / 0.9377 GB, free: 4.145 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.5801, allocations: 170.5 kB / 0.9378 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5803, allocations: 394.7 kB / 0.9382 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.5809, allocations: 265.9 kB / 0.9385 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.5815, allocations: 385.7 kB / 0.9388 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.5827, allocations: 0.6423 MB / 0.9395 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5827, allocations: 0 / 0.9395 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002089/0.5848, allocations: 0.8838 MB / 0.9403 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.5848, allocations: 4 kB / 0.9403 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5848, allocations: 4 kB / 0.9403 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.5855, allocations: 88.89 kB / 0.9404 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.5862, allocations: 163.8 kB / 0.9406 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.5884, allocations: 1.641 MB / 0.9422 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.5892, allocations: 103.1 kB / 0.9423 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.642e-05/0.5893, allocations: 35.97 kB / 0.9423 GB, free: 15.18 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.0004642/0.5898, allocations: 281.8 kB / 0.9426 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.59, allocations: 79.06 kB / 0.9427 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.5925, allocations: 1.081 MB / 0.9437 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5925, allocations: 7.969 kB / 0.9437 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5925, allocations: 0 / 0.9437 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.5929, allocations: 275.8 kB / 0.944 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5931, allocations: 20 kB / 0.944 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006615/0.5938, allocations: 63.92 kB / 0.9441 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.5939, allocations: 68.91 kB / 0.9441 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00219/0.5961, allocations: 0.9786 MB / 0.9451 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002329/0.5985, allocations: 1.434 MB / 0.9465 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006178/0.5991, allocations: 363.8 kB / 0.9468 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005559/0.5997, allocations: 459 kB / 0.9473 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of Backend: time 6.81e-07/0.5997, allocations: 0 / 0.9473 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003218/0.6029, allocations: 1.281 MB / 0.9485 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002925/0.6058, allocations: 2.074 MB / 0.9506 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.3117/0.9175, allocations: 16.62 MB / 0.9668 GB, free: 185.5 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)