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.001705/0.001705, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001492/0.001491, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00274/0.002741, allocations: 282.9 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.127/1.127, allocations: 178.6 MB / 0.5068 GB, free: 4.805 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 96.22 kB / 0.6057 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2503, allocations: 89.15 MB / 0.6928 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007769/0.2581, allocations: 4.927 MB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6668/0.925, allocations: 148.3 MB / 0.8424 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.9263, allocations: 16.22 kB / 0.8425 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.927, allocations: 151.8 kB / 0.8426 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.929, allocations: 477.1 kB / 0.8431 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.9314, allocations: 0.7429 MB / 0.8438 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002057/0.9335, allocations: 1.325 MB / 0.8451 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.9346, allocations: 0.5834 MB / 0.8457 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.9356, allocations: 438.2 kB / 0.8461 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000717/0.9363, allocations: 494.3 kB / 0.8465 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.9364, allocations: 61.11 kB / 0.8466 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.9376, allocations: 393.1 kB / 0.847 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.9379, allocations: 243.2 kB / 0.8472 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.9385, allocations: 0.5166 MB / 0.8477 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.9404, allocations: 1.558 MB / 0.8492 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9404, allocations: 0 / 0.8492 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9404, allocations: 0 / 0.8492 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.9404, allocations: 6.406 kB / 0.8492 GB, free: 4.934 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.002989/0.9434, allocations: 1.455 MB / 0.8507 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.9435, allocations: 13.62 kB / 0.8507 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.9448, allocations: 233.6 kB / 0.8509 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.946, allocations: 0.7476 MB / 0.8516 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.9461, allocations: 67.52 kB / 0.8517 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.9462, allocations: 86.03 kB / 0.8518 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.948, allocations: 0.9928 MB / 0.8527 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.9481, allocations: 3.062 kB / 0.8527 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.9482, allocations: 35.62 kB / 0.8528 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.9482, allocations: 22.38 kB / 0.8528 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.9502, allocations: 1.167 MB / 0.8539 GB, free: 1.77 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.9552, allocations: 3.039 MB / 0.8569 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.9572, allocations: 0.9551 MB / 0.8578 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.9577, allocations: 312.7 kB / 0.8581 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.92e-05/0.9578, allocations: 31.36 kB / 0.8582 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.9589, allocations: 0.4988 MB / 0.8587 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.966e-06/0.9589, allocations: 0 / 0.8587 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.003403/0.9623, allocations: 1.229 MB / 0.8599 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.9625, allocations: 194.5 kB / 0.86 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009249/0.9634, allocations: 0.6416 MB / 0.8607 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.097e-05/0.9635, allocations: 42.89 kB / 0.8607 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.9639, allocations: 408.4 kB / 0.8611 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.9642, allocations: 271.2 kB / 0.8614 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000275/0.9645, allocations: 164.4 kB / 0.8615 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002239/0.9647, allocations: 392.9 kB / 0.8619 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.9652, allocations: 272 kB / 0.8621 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.9659, allocations: 392.4 kB / 0.8625 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.9671, allocations: 0.6436 MB / 0.8632 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9671, allocations: 0 / 0.8632 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002108/0.9692, allocations: 0.8893 MB / 0.864 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.9692, allocations: 9.312 kB / 0.864 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.9692, allocations: 2.688 kB / 0.864 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.9699, allocations: 85.89 kB / 0.8641 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.9705, allocations: 168.2 kB / 0.8643 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.9728, allocations: 1.527 MB / 0.8658 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008983/0.9737, allocations: 101 kB / 0.8659 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.73e-05/0.9738, allocations: 41.38 kB / 0.8659 GB, free: 9.016 MB / 0.5919 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.0005881/0.9744, allocations: 273.9 kB / 0.8662 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.9746, allocations: 87.31 kB / 0.8662 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.977, allocations: 1.083 MB / 0.8673 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.9771, allocations: 17.38 kB / 0.8673 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9771, allocations: 7.922 kB / 0.8673 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.9771, allocations: 3.984 kB / 0.8673 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.9809, allocations: 2.093 MB / 0.8694 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.9809, allocations: 1.125 kB / 0.8694 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006151/0.9816, allocations: 147.8 kB / 0.8695 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005183/0.9821, allocations: 84.77 kB / 0.8696 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/0.9822, allocations: 23.98 kB / 0.8696 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.9842, allocations: 1.548 MB / 0.8711 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9842, allocations: 3.938 kB / 0.8711 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/0.9865, allocations: 1.008 MB / 0.8721 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.987, allocations: 279.7 kB / 0.8724 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.9872, allocations: 20 kB / 0.8724 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.9879, allocations: 67.88 kB / 0.8725 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.9881, allocations: 72.89 kB / 0.8725 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.038e-05/0.9882, allocations: 35.97 kB / 0.8726 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006812/0.9889, allocations: 462.7 kB / 0.873 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.014e-06/0.9889, allocations: 0 / 0.873 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001076/0.99, allocations: 331.2 kB / 0.8733 GB, free: 2.383 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.002063/0.992, allocations: 0.6035 MB / 0.8739 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001975/0.994, allocations: 0.8554 MB / 0.8748 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.994, allocations: 0 / 0.8748 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009998/0.995, allocations: 0.5197 MB / 0.8753 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.9965, allocations: 293.9 kB / 0.8755 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/1, allocations: 2.11 MB / 0.8776 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/1.001, allocations: 1.028 MB / 0.8786 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009755/1.002, allocations: 274.8 kB / 0.8789 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/1.002, allocations: 111.3 kB / 0.879 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of SimCode: time 1.333e-06/1.002, allocations: 0 / 0.879 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.02982/1.032, allocations: 15.08 MB / 0.8937 GB, free: 13.8 MB / 0.6231 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)