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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.857/0.857, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 194.9 kB / 191.9 MB, free: 5.719 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 107.7 kB / 0.517 GB, free: 3.691 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001977/0.001977, allocations: 275.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 83.88 kB / 0.6885 GB, free: 3.828 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4608, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006321/0.4671, allocations: 4.197 MB / 0.772 GB, free: 23.44 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.6321/1.099, allocations: 148.2 MB / 0.9167 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008994/1.1, allocations: 17.34 kB / 0.9167 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/1.101, allocations: 140.8 kB / 0.9169 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/1.103, allocations: 405.3 kB / 0.9173 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/1.105, allocations: 0.6987 MB / 0.9179 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001773/1.106, allocations: 1.14 MB / 0.9191 GB, free: 15.95 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009491/1.107, allocations: 0.6253 MB / 0.9197 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007526/1.108, allocations: 385.1 kB / 0.92 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009271/1.117, allocations: 430.8 kB / 0.9204 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/1.118, allocations: 53.44 kB / 0.9205 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/1.119, allocations: 401.1 kB / 0.9209 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/1.119, allocations: 224.7 kB / 0.9211 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006702/1.12, allocations: 462.5 kB / 0.9215 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/1.122, allocations: 1.417 MB / 0.9229 GB, free: 15.71 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/1.122, allocations: 0 / 0.9229 GB, free: 15.71 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.263e-06/1.122, allocations: 0 / 0.9229 GB, free: 15.71 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.245e-05/1.122, allocations: 0 / 0.9229 GB, free: 15.71 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002276/1.124, allocations: 1.344 MB / 0.9242 GB, free: 14.98 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/1.124, allocations: 16.38 kB / 0.9242 GB, free: 14.97 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.125, allocations: 224.7 kB / 0.9245 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.127, allocations: 0.7111 MB / 0.9252 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/1.127, allocations: 67.78 kB / 0.9252 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/1.127, allocations: 77.66 kB / 0.9253 GB, free: 14.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/1.128, allocations: 0.9161 MB / 0.9262 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/1.128, allocations: 0 / 0.9262 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/1.128, allocations: 37.09 kB / 0.9262 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/1.128, allocations: 20.5 kB / 0.9262 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/1.13, allocations: 1.12 MB / 0.9273 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/1.134, allocations: 2.675 MB / 0.9299 GB, free: 13.39 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/1.136, allocations: 0.8545 MB / 0.9308 GB, free: 13.27 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/1.136, allocations: 282.4 kB / 0.931 GB, free: 13.25 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.26e-05/1.136, allocations: 35.97 kB / 0.9311 GB, free: 13.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008577/1.137, allocations: 429.7 kB / 0.9315 GB, free: 13.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=74): time 3.196e-06/1.137, allocations: 1.344 kB / 0.9315 GB, free: 13.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=74): time 0.002989/1.14, allocations: 1.085 MB / 0.9326 GB, free: 12.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/1.14, allocations: 188.7 kB / 0.9327 GB, free: 12.76 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/1.141, allocations: 0.5946 MB / 0.9333 GB, free: 12.62 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.457e-05/1.142, allocations: 44.08 kB / 0.9334 GB, free: 12.59 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/1.142, allocations: 392.2 kB / 0.9337 GB, free: 12.41 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.142, allocations: 239.4 kB / 0.934 GB, free: 12.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/1.143, allocations: 160.5 kB / 0.9341 GB, free: 12.23 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001938/1.143, allocations: 387 kB / 0.9345 GB, free: 11.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/1.143, allocations: 240.2 kB / 0.9347 GB, free: 11.91 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/1.144, allocations: 350.8 kB / 0.935 GB, free: 11.84 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/1.145, allocations: 0.5835 MB / 0.9356 GB, free: 11.76 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.145, allocations: 1.406 kB / 0.9356 GB, free: 11.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001828/1.147, allocations: 0.8017 MB / 0.9364 GB, free: 11.66 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/1.147, allocations: 5.672 kB / 0.9364 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.147, allocations: 9.656 kB / 0.9364 GB, free: 11.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/1.147, allocations: 76.66 kB / 0.9365 GB, free: 11.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/1.148, allocations: 159.5 kB / 0.9366 GB, free: 11.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.15, allocations: 1.518 MB / 0.9381 GB, free: 10.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/1.151, allocations: 88.77 kB / 0.9382 GB, free: 10.31 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/1.151, allocations: 34.39 kB / 0.9382 GB, free: 10.31 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0005071/1.151, allocations: 259.4 kB / 0.9385 GB, free: 10.2 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/1.152, allocations: 80.12 kB / 0.9386 GB, free: 10.15 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/1.154, allocations: 0.9898 MB / 0.9395 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.154, allocations: 7.938 kB / 0.9395 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.154, allocations: 0 / 0.9395 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.154, allocations: 4.875 kB / 0.9395 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/1.157, allocations: 1.921 MB / 0.9414 GB, free: 9.59 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.157, allocations: 2.75 kB / 0.9414 GB, free: 9.59 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005291/1.157, allocations: 147.8 kB / 0.9416 GB, free: 9.586 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/1.158, allocations: 82.72 kB / 0.9416 GB, free: 9.574 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/1.158, allocations: 24 kB / 0.9417 GB, free: 9.574 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.16, allocations: 1.536 MB / 0.9432 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.16, allocations: 7.531 kB / 0.9432 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/1.162, allocations: 1.913 MB / 0.945 GB, free: 7.469 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/1.163, allocations: 257.3 kB / 0.9453 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/1.163, allocations: 15.8 kB / 0.9453 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/1.164, allocations: 67.52 kB / 0.9454 GB, free: 7.309 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/1.164, allocations: 61.62 kB / 0.9454 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/1.164, allocations: 36.06 kB / 0.9455 GB, free: 7.301 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005158/1.164, allocations: 428.4 kB / 0.9459 GB, free: 7.211 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.164, allocations: 4.75 kB / 0.9459 GB, free: 7.211 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001028/1.165, allocations: 299.6 kB / 0.9462 GB, free: 7.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001361/1.167, allocations: 0.6024 MB / 0.9467 GB, free: 6.934 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.168, allocations: 0.7702 MB / 0.9475 GB, free: 6.801 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.168, allocations: 384 / 0.9475 GB, free: 6.801 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/1.169, allocations: 491.6 kB / 0.948 GB, free: 6.68 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/1.17, allocations: 287.9 kB / 0.9482 GB, free: 6.652 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/1.175, allocations: 2.512 MB / 0.9507 GB, free: 5.422 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/1.175, allocations: 1.021 MB / 0.9517 GB, free: 4.715 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000952/1.176, allocations: 262 kB / 0.9519 GB, free: 4.633 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.177, allocations: 97.47 kB / 0.952 GB, free: 4.625 MB / 0.573 GB Notification: Performance of SimCode: time 3.346e-06/1.177, allocations: 0 / 0.952 GB, free: 4.625 MB / 0.573 GB Notification: Performance of Templates: time 0.02616/1.203, allocations: 14.1 MB / 0.9658 GB, free: 14.21 MB / 0.5886 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)