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.005677/0.005677, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001029/0.001029, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.304/1.304, allocations: 222.9 MB / 240.4 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.00204/0.00204, allocations: 290.3 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8987/0.8987, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00326/0.003261, allocations: 95.84 kB / 0.6814 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4606, allocations: 86.98 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006006/0.4666, allocations: 4.423 MB / 0.7707 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1458/0.6125, allocations: 150.6 MB / 0.9177 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000837/0.6134, allocations: 19.88 kB / 0.9178 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.6141, allocations: 174.4 kB / 0.9179 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.6161, allocations: 0.5136 MB / 0.9184 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.6181, allocations: 0.8422 MB / 0.9192 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001521/0.6196, allocations: 1.343 MB / 0.9206 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009479/0.6206, allocations: 0.6415 MB / 0.9212 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.6214, allocations: 0.4905 MB / 0.9217 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007215/0.6221, allocations: 0.4978 MB / 0.9221 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.6224, allocations: 116 kB / 0.9223 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009559/0.6233, allocations: 499.5 kB / 0.9227 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.6237, allocations: 303 kB / 0.923 GB, free: 2.855 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000719/0.6244, allocations: 0.5518 MB / 0.9236 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.6262, allocations: 1.626 MB / 0.9251 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6262, allocations: 0 / 0.9251 GB, free: 0.6719 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6262, allocations: 3.938 kB / 0.9252 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.6263, allocations: 0 / 0.9252 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.002272/0.6285, allocations: 1.446 MB / 0.9266 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6286, allocations: 8.031 kB / 0.9266 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6298, allocations: 235.2 kB / 0.9268 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6308, allocations: 0.7695 MB / 0.9275 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.6309, allocations: 66 kB / 0.9276 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.631, allocations: 84 kB / 0.9277 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.6325, allocations: 0.9833 MB / 0.9287 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.6326, allocations: 0 / 0.9287 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.6327, allocations: 40 kB / 0.9287 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.6327, allocations: 23.98 kB / 0.9287 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.6345, allocations: 1.167 MB / 0.9299 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003767/0.6382, allocations: 2.797 MB / 0.9326 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.6399, allocations: 0.9446 MB / 0.9335 GB, free: 7.855 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004938/0.6404, allocations: 302.7 kB / 0.9338 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.662e-05/0.6405, allocations: 36.59 kB / 0.9338 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007915/0.6413, allocations: 0.4925 MB / 0.9343 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 2.064e-06/0.6413, allocations: 0 / 0.9343 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.002982/0.6443, allocations: 1.227 MB / 0.9355 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.6444, allocations: 192.9 kB / 0.9357 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007129/0.6451, allocations: 0.6293 MB / 0.9363 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.6452, allocations: 41.7 kB / 0.9363 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.6455, allocations: 412.2 kB / 0.9367 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6457, allocations: 280.1 kB / 0.937 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.6459, allocations: 170.5 kB / 0.9372 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6461, allocations: 382.8 kB / 0.9375 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.6466, allocations: 273.9 kB / 0.9378 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.6471, allocations: 389.6 kB / 0.9382 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6482, allocations: 0.6384 MB / 0.9388 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6482, allocations: 3.938 kB / 0.9388 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001842/0.65, allocations: 0.8838 MB / 0.9397 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6501, allocations: 8 kB / 0.9397 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6501, allocations: 0 / 0.9397 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/0.6507, allocations: 84.95 kB / 0.9397 GB, free: 1.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006485/0.6513, allocations: 167.7 kB / 0.9399 GB, free: 1.121 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.6533, allocations: 1.626 MB / 0.9415 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.654, allocations: 103.5 kB / 0.9416 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.6541, allocations: 39.97 kB / 0.9416 GB, free: 15.21 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.000412/0.6545, allocations: 281.7 kB / 0.9419 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.6547, allocations: 83.12 kB / 0.942 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.6569, allocations: 1.081 MB / 0.943 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6569, allocations: 15.98 kB / 0.943 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.6569, allocations: 0 / 0.943 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.6569, allocations: 3.984 kB / 0.9431 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.6601, allocations: 2.084 MB / 0.9451 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6601, allocations: 0 / 0.9451 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.6607, allocations: 151.8 kB / 0.9452 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/0.6612, allocations: 76.78 kB / 0.9453 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.6612, allocations: 27.97 kB / 0.9453 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.663, allocations: 1.654 MB / 0.9469 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.663, allocations: 64 / 0.9469 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6648, allocations: 1.021 MB / 0.9479 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.6652, allocations: 267.7 kB / 0.9482 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6653, allocations: 20 kB / 0.9482 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.6659, allocations: 67.3 kB / 0.9483 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.6661, allocations: 76.83 kB / 0.9484 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.6662, allocations: 43.92 kB / 0.9484 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000515/0.6667, allocations: 455 kB / 0.9488 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6667, allocations: 0 / 0.9488 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008276/0.6675, allocations: 327.1 kB / 0.9491 GB, free: 7.234 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.001254/0.6688, allocations: 0.6023 MB / 0.9497 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.6704, allocations: 0.8546 MB / 0.9506 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6704, allocations: 0 / 0.9506 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.6713, allocations: 0.5317 MB / 0.9511 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6724, allocations: 309.5 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.003479/0.6759, 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.0005127/0.6764, allocations: 1.031 MB / 0.9541 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007409/0.6772, allocations: 270.8 kB / 0.9544 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.6774, allocations: 107.4 kB / 0.9545 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.6774, allocations: 0 / 0.9545 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.4091/1.086, 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)