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.001284/0.001284, allocations: 108 kB / 15.61 MB, free: 148 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.001101/0.001101, allocations: 196.2 kB / 16.53 MB, free: 6.656 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.289/1.289, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002212/0.002212, allocations: 283.2 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003047/0.003047, allocations: 99.83 kB / 0.5952 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.17, allocations: 86.98 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006312/0.1763, allocations: 4.42 MB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4565/0.6329, allocations: 150.6 MB / 0.8315 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008045/0.6337, allocations: 16.53 kB / 0.8315 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.6344, allocations: 176.2 kB / 0.8317 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.6361, allocations: 0.5143 MB / 0.8322 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.638, allocations: 0.8376 MB / 0.833 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001507/0.6395, allocations: 1.338 MB / 0.8343 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009619/0.6405, allocations: 0.644 MB / 0.835 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007709/0.6413, allocations: 491.5 kB / 0.8354 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007036/0.642, allocations: 0.5022 MB / 0.8359 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.6422, allocations: 121.1 kB / 0.836 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.643, allocations: 462.4 kB / 0.8365 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.6433, allocations: 300.6 kB / 0.8368 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.6437, allocations: 0.5578 MB / 0.8373 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.6452, allocations: 1.587 MB / 0.8389 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6452, allocations: 0 / 0.8389 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6452, allocations: 1.375 kB / 0.8389 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.6452, allocations: 0 / 0.8389 GB, free: 15.83 MB / 0.5762 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.002301/0.6475, allocations: 1.449 MB / 0.8403 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.6475, allocations: 8.469 kB / 0.8403 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.6487, allocations: 231.7 kB / 0.8405 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.6497, allocations: 0.7531 MB / 0.8413 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.6497, allocations: 65.25 kB / 0.8413 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6498, allocations: 83.81 kB / 0.8414 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.6514, allocations: 0.9802 MB / 0.8424 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.6514, allocations: 5.219 kB / 0.8424 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.21e-05/0.6515, allocations: 39.88 kB / 0.8424 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.6515, allocations: 26.56 kB / 0.8424 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.6534, allocations: 1.158 MB / 0.8435 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.6571, allocations: 2.833 MB / 0.8463 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6589, allocations: 0.938 MB / 0.8472 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.6594, allocations: 309.8 kB / 0.8475 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.156e-05/0.6595, allocations: 32.58 kB / 0.8476 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008497/0.6603, allocations: 0.5051 MB / 0.8481 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.314e-06/0.6603, allocations: 0 / 0.8481 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.003028/0.6634, allocations: 1.216 MB / 0.8492 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6635, allocations: 202.1 kB / 0.8494 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.6642, allocations: 0.6343 MB / 0.8501 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/0.6643, allocations: 42.61 kB / 0.8501 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.6646, allocations: 412.1 kB / 0.8505 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.6648, allocations: 270.9 kB / 0.8507 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.665, allocations: 172.6 kB / 0.8509 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6652, allocations: 387.4 kB / 0.8513 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005001/0.6657, allocations: 264.9 kB / 0.8515 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/0.6663, allocations: 388.3 kB / 0.8519 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6673, allocations: 0.6451 MB / 0.8525 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6673, allocations: 0 / 0.8525 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001858/0.6692, allocations: 0.8817 MB / 0.8534 GB, free: 7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6692, allocations: 5.25 kB / 0.8534 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6693, allocations: 2.719 kB / 0.8534 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.6699, allocations: 93.5 kB / 0.8535 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.6705, allocations: 176.1 kB / 0.8537 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.6725, allocations: 1.62 MB / 0.8552 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/0.6732, allocations: 95.92 kB / 0.8553 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.6733, allocations: 46.69 kB / 0.8554 GB, free: 5.227 MB / 0.5762 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.0003646/0.6737, allocations: 272.4 kB / 0.8556 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6738, allocations: 86.12 kB / 0.8557 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/0.6761, allocations: 1.102 MB / 0.8568 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6761, allocations: 14.22 kB / 0.8568 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.6761, allocations: 0 / 0.8568 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.6761, allocations: 3.984 kB / 0.8568 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.6793, allocations: 2.081 MB / 0.8588 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6793, allocations: 0 / 0.8588 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005514/0.6799, allocations: 151.8 kB / 0.859 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/0.6803, allocations: 70.92 kB / 0.8591 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.6804, allocations: 26.66 kB / 0.8591 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.6822, allocations: 1.662 MB / 0.8607 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6822, allocations: 4 kB / 0.8607 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.684, allocations: 1.012 MB / 0.8617 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.6844, allocations: 273.9 kB / 0.862 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.6845, allocations: 25.3 kB / 0.862 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.6852, allocations: 58.69 kB / 0.862 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.6853, allocations: 76.02 kB / 0.8621 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.6854, allocations: 30.92 kB / 0.8621 GB, free: 364 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004961/0.6859, allocations: 465.2 kB / 0.8626 GB, free: 88 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6859, allocations: 0 / 0.8626 GB, free: 88 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008678/0.6868, allocations: 325.5 kB / 0.8629 GB, free: 15.99 MB / 0.5919 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.001288/0.6881, allocations: 0.6001 MB / 0.8635 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.6903, allocations: 1.064 MB / 0.8645 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6903, allocations: 2.125 kB / 0.8645 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/0.6911, allocations: 0.5217 MB / 0.865 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.6923, allocations: 307.7 kB / 0.8653 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.6959, allocations: 1.81 MB / 0.8671 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.6964, allocations: 1.03 MB / 0.8681 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.6972, allocations: 274.9 kB / 0.8684 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.6975, allocations: 104.1 kB / 0.8685 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.6975, allocations: 0 / 0.8685 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Templates: time 0.02332/0.7208, allocations: 15.34 MB / 0.8834 GB, free: 172 kB / 0.5919 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)