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.001118/0.001118, allocations: 106.1 kB / 16.41 MB, free: 6.512 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.001142/0.001142, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.305/1.305, 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.002161/0.002161, allocations: 287.2 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.9465/0.9465, allocations: 169.2 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 91.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4098, allocations: 86.98 MB / 0.767 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005358/0.4152, allocations: 4.42 MB / 0.7713 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.5562, allocations: 150.6 MB / 0.9184 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.5569, allocations: 19.88 kB / 0.9184 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.5575, allocations: 182.4 kB / 0.9186 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.559, allocations: 0.5176 MB / 0.9191 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.5609, allocations: 0.8358 MB / 0.9199 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.5621, allocations: 1.35 MB / 0.9212 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.5629, allocations: 0.6454 MB / 0.9219 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.5634, allocations: 498.2 kB / 0.9223 GB, free: 4.414 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005315/0.5639, allocations: 0.4939 MB / 0.9228 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.5641, allocations: 120 kB / 0.9229 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.5649, allocations: 495.5 kB / 0.9234 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.5652, allocations: 303 kB / 0.9237 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.5656, allocations: 0.5518 MB / 0.9242 GB, free: 2.465 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.567, allocations: 1.626 MB / 0.9258 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.567, allocations: 3.938 kB / 0.9258 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/0.567, allocations: 0 / 0.9258 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.5671, allocations: 0 / 0.9258 GB, free: 0.832 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.00226/0.5693, allocations: 1.446 MB / 0.9272 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5694, allocations: 12.03 kB / 0.9272 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.5706, allocations: 231.2 kB / 0.9275 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.5717, allocations: 0.7734 MB / 0.9282 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.5717, allocations: 62 kB / 0.9283 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.5719, allocations: 91.94 kB / 0.9284 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.5735, allocations: 0.9794 MB / 0.9293 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.5736, allocations: 0 / 0.9293 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.5736, allocations: 36 kB / 0.9294 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.5737, allocations: 24 kB / 0.9294 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.5756, allocations: 1.167 MB / 0.9305 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.5794, allocations: 2.804 MB / 0.9333 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.5811, allocations: 0.933 MB / 0.9342 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.5817, allocations: 306.7 kB / 0.9345 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.5818, allocations: 36.59 kB / 0.9345 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/0.5826, allocations: 0.4925 MB / 0.935 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/0.5826, allocations: 0 / 0.935 GB, free: 7.176 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.003125/0.5857, allocations: 1.227 MB / 0.9362 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.5858, allocations: 192.9 kB / 0.9364 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006959/0.5865, allocations: 0.6254 MB / 0.937 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.5866, allocations: 45.7 kB / 0.937 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/0.5869, allocations: 416.2 kB / 0.9374 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.5871, allocations: 272 kB / 0.9377 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.5873, allocations: 170.5 kB / 0.9378 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5875, allocations: 390.7 kB / 0.9382 GB, free: 3.766 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.588, allocations: 265.9 kB / 0.9385 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.5886, allocations: 397.6 kB / 0.9388 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.5897, allocations: 0.6423 MB / 0.9395 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5897, allocations: 0 / 0.9395 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00191/0.5917, allocations: 0.8838 MB / 0.9403 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5917, allocations: 6.344 kB / 0.9403 GB, free: 1.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5917, allocations: 7.984 kB / 0.9403 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.5923, allocations: 84.95 kB / 0.9404 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006856/0.593, allocations: 171.7 kB / 0.9406 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.595, allocations: 1.622 MB / 0.9422 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.5957, allocations: 102 kB / 0.9423 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-05/0.5958, allocations: 40.03 kB / 0.9423 GB, free: 15.37 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.0004/0.5962, allocations: 284.4 kB / 0.9426 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5964, allocations: 79.06 kB / 0.9427 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.5987, allocations: 1.085 MB / 0.9437 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5987, allocations: 7.969 kB / 0.9437 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5987, allocations: 0 / 0.9437 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.599, allocations: 271.7 kB / 0.944 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.5992, allocations: 20 kB / 0.944 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.5998, allocations: 67.92 kB / 0.9441 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.6, allocations: 72.89 kB / 0.9441 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002035/0.602, allocations: 0.967 MB / 0.9451 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002194/0.6042, allocations: 1.43 MB / 0.9465 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000577/0.6048, allocations: 367.8 kB / 0.9468 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005146/0.6053, allocations: 455 kB / 0.9473 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of Backend: time 4.3e-07/0.6053, allocations: 0 / 0.9473 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003326/0.6087, allocations: 1.285 MB / 0.9485 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002985/0.6117, allocations: 2.061 MB / 0.9505 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.3304/0.9421, allocations: 16.64 MB / 0.9668 GB, free: 185.6 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)