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.001066/0.001066, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001034/0.001034, allocations: 187.8 kB / 16.25 MB, free: 6.629 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 / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 283 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 88.25 kB / 0.5947 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1409, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005441/0.1464, allocations: 4.432 MB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4584/0.6048, allocations: 148.3 MB / 0.8288 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007073/0.6056, allocations: 24.03 kB / 0.8288 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.6061, allocations: 138.3 kB / 0.829 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.6074, allocations: 464.6 kB / 0.8294 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.609, allocations: 0.7522 MB / 0.8302 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6102, allocations: 1.338 MB / 0.8315 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008489/0.6111, allocations: 0.6466 MB / 0.8321 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.6117, allocations: 491.8 kB / 0.8326 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.6122, allocations: 0.5075 MB / 0.8331 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.6124, allocations: 117.4 kB / 0.8332 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6135, allocations: 460.5 kB / 0.8336 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.6139, allocations: 304.1 kB / 0.8339 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006365/0.6145, allocations: 0.5537 MB / 0.8344 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.6166, allocations: 1.583 MB / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6166, allocations: 1.625 kB / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6166, allocations: 3.75 kB / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.6167, allocations: 0 / 0.836 GB, free: 15.54 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.002638/0.6193, allocations: 1.447 MB / 0.8374 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6194, allocations: 9.594 kB / 0.8374 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.6206, allocations: 236.5 kB / 0.8376 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.6216, allocations: 0.7468 MB / 0.8384 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.6217, allocations: 68.5 kB / 0.8384 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.6218, allocations: 86 kB / 0.8385 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.6234, allocations: 0.9814 MB / 0.8395 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6234, allocations: 5.031 kB / 0.8395 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.703e-05/0.6235, allocations: 39.59 kB / 0.8395 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.6235, allocations: 21.56 kB / 0.8395 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.6254, allocations: 1.159 MB / 0.8407 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.6294, allocations: 2.828 MB / 0.8434 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.6312, allocations: 0.9437 MB / 0.8443 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.6317, allocations: 307.6 kB / 0.8446 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.763e-05/0.6318, allocations: 39.2 kB / 0.8447 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008982/0.6327, allocations: 0.4925 MB / 0.8452 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 3.306e-06/0.6327, allocations: 0 / 0.8452 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.003135/0.6359, allocations: 1.222 MB / 0.8464 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.636, allocations: 192.2 kB / 0.8465 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007317/0.6367, allocations: 0.6374 MB / 0.8472 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.6368, allocations: 49.05 kB / 0.8472 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.6371, allocations: 407.8 kB / 0.8476 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.6373, allocations: 272.6 kB / 0.8479 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.6376, allocations: 169 kB / 0.848 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6377, allocations: 388.2 kB / 0.8484 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.6383, allocations: 275.8 kB / 0.8486 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.6389, allocations: 389 kB / 0.849 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.64, allocations: 0.6353 MB / 0.8496 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.64, allocations: 0 / 0.8496 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001972/0.642, allocations: 0.8895 MB / 0.8505 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.642, allocations: 7.5 kB / 0.8505 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.642, allocations: 2.719 kB / 0.8505 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.6427, allocations: 90.86 kB / 0.8506 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/0.6434, allocations: 175 kB / 0.8508 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.6456, allocations: 1.621 MB / 0.8524 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008372/0.6465, allocations: 103.3 kB / 0.8525 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-05/0.6466, allocations: 35.17 kB / 0.8525 GB, free: 5.773 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.000487/0.6471, allocations: 279.1 kB / 0.8528 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.6473, allocations: 87.78 kB / 0.8528 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.6497, allocations: 1.093 MB / 0.8539 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6497, allocations: 10.69 kB / 0.8539 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.6497, allocations: 0 / 0.8539 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6498, allocations: 3.984 kB / 0.8539 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/0.6534, allocations: 2.082 MB / 0.856 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6534, allocations: 0 / 0.856 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.654, allocations: 151.9 kB / 0.8561 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.6544, allocations: 74.52 kB / 0.8562 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.6545, allocations: 27.72 kB / 0.8562 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.6564, allocations: 1.667 MB / 0.8578 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6564, allocations: 0 / 0.8578 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.6585, allocations: 1.013 MB / 0.8588 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.6589, allocations: 267.5 kB / 0.8591 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.6591, allocations: 31.55 kB / 0.8591 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.6598, allocations: 60.17 kB / 0.8592 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.66, allocations: 72.14 kB / 0.8592 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.6601, allocations: 38.3 kB / 0.8593 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006337/0.6608, allocations: 460.9 kB / 0.8597 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6608, allocations: 3.938 kB / 0.8597 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001022/0.6618, allocations: 326.2 kB / 0.86 GB, free: 0.5234 MB / 0.5762 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.00152/0.6633, allocations: 0.604 MB / 0.8606 GB, free: 252 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.6658, allocations: 1.063 MB / 0.8616 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6658, allocations: 2.5 kB / 0.8616 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/0.6667, allocations: 0.5223 MB / 0.8622 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.6682, allocations: 304.6 kB / 0.8624 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.6725, allocations: 2.218 MB / 0.8646 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/0.6731, allocations: 1.03 MB / 0.8656 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009723/0.6741, allocations: 278.9 kB / 0.8659 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.6744, allocations: 104 kB / 0.866 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.6744, allocations: 0 / 0.866 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.02663/0.7011, allocations: 15.25 MB / 0.8809 GB, free: 0.9062 MB / 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)