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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001109/0.001108, allocations: 194.7 kB / 16.14 MB, free: 6.727 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.291/1.291, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002104, allocations: 274.9 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.92/0.92, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 93.14 kB / 0.5945 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.143, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005654/0.1487, allocations: 4.431 MB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.421/0.5697, allocations: 148.3 MB / 0.8286 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.5705, allocations: 15.47 kB / 0.8286 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.5711, allocations: 140.3 kB / 0.8287 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.5727, allocations: 442.8 kB / 0.8291 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.5745, allocations: 0.7295 MB / 0.8298 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.5758, allocations: 1.255 MB / 0.8311 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00081/0.5766, allocations: 0.6212 MB / 0.8317 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.5772, allocations: 424.3 kB / 0.8321 GB, free: 436 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.5777, allocations: 476.9 kB / 0.8325 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5778, allocations: 61.47 kB / 0.8326 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007518/0.5785, allocations: 400.3 kB / 0.833 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.5788, allocations: 241.5 kB / 0.8332 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.5792, allocations: 0.4992 MB / 0.8337 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.5804, allocations: 1.537 MB / 0.8352 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5805, allocations: 3.938 kB / 0.8352 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5805, allocations: 2.672 kB / 0.8352 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.784e-05/0.5805, allocations: 3.75 kB / 0.8352 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.00243/0.5829, allocations: 1.437 MB / 0.8366 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.583, allocations: 9.594 kB / 0.8366 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.5842, allocations: 236.4 kB / 0.8368 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009941/0.5852, allocations: 0.7498 MB / 0.8376 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/0.5853, allocations: 65.28 kB / 0.8376 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.5854, allocations: 83.72 kB / 0.8377 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.587, allocations: 0.9848 MB / 0.8387 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.587, allocations: 4 kB / 0.8387 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.5871, allocations: 40.62 kB / 0.8387 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.5871, allocations: 22 kB / 0.8387 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.589, allocations: 1.159 MB / 0.8399 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.5928, allocations: 2.827 MB / 0.8426 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.5945, allocations: 0.9396 MB / 0.8435 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.5951, allocations: 309.1 kB / 0.8438 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.5952, allocations: 33.72 kB / 0.8439 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008622/0.596, allocations: 0.5019 MB / 0.8444 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=83): time 2.425e-06/0.596, allocations: 0 / 0.8444 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.0031/0.5991, allocations: 1.222 MB / 0.8456 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.5992, allocations: 193.5 kB / 0.8457 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.5999, allocations: 0.6377 MB / 0.8464 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.6, allocations: 41.08 kB / 0.8464 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.6003, allocations: 414.6 kB / 0.8468 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.6005, allocations: 271 kB / 0.8471 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.6007, allocations: 169 kB / 0.8472 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6009, allocations: 388 kB / 0.8476 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.6014, allocations: 270.7 kB / 0.8478 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006161/0.602, allocations: 389 kB / 0.8482 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.6031, allocations: 0.6368 MB / 0.8488 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6032, allocations: 1.188 kB / 0.8488 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001919/0.6051, allocations: 0.8872 MB / 0.8497 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6051, allocations: 5.156 kB / 0.8497 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.6051, allocations: 3.984 kB / 0.8497 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.6057, allocations: 90.33 kB / 0.8498 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.6064, allocations: 170.5 kB / 0.85 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.6083, allocations: 1.53 MB / 0.8515 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.6091, allocations: 93.08 kB / 0.8515 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/0.6092, allocations: 45.09 kB / 0.8516 GB, free: 5.988 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.0003643/0.6095, allocations: 271.5 kB / 0.8518 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6097, allocations: 93.8 kB / 0.8519 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.612, allocations: 1.079 MB / 0.853 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6121, allocations: 10.09 kB / 0.853 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6121, allocations: 3.938 kB / 0.853 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6121, allocations: 7.969 kB / 0.853 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.6153, allocations: 2.084 MB / 0.855 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6154, allocations: 4 kB / 0.8551 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.6159, allocations: 151.7 kB / 0.8552 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005088/0.6165, allocations: 86.92 kB / 0.8553 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.6165, allocations: 25.98 kB / 0.8553 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.6182, allocations: 1.541 MB / 0.8568 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6183, allocations: 7.922 kB / 0.8568 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.6202, allocations: 1.005 MB / 0.8578 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.6205, allocations: 275.5 kB / 0.8581 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.6206, allocations: 23.42 kB / 0.8581 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.6213, allocations: 62.22 kB / 0.8581 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.6215, allocations: 72.17 kB / 0.8582 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/0.6216, allocations: 42.19 kB / 0.8583 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004958/0.6221, allocations: 457.2 kB / 0.8587 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6221, allocations: 0 / 0.8587 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008432/0.6229, allocations: 327.9 kB / 0.859 GB, free: 0.8555 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.00134/0.6243, allocations: 0.5991 MB / 0.8596 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.6258, allocations: 0.8527 MB / 0.8604 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6258, allocations: 0 / 0.8604 GB, free: 136 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008986/0.6267, allocations: 0.5183 MB / 0.8609 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.6279, allocations: 283 kB / 0.8612 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.6318, allocations: 2.234 MB / 0.8634 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.6323, allocations: 1.025 MB / 0.8644 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008386/0.6331, allocations: 266.8 kB / 0.8646 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.6334, allocations: 104.1 kB / 0.8647 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.6334, allocations: 0 / 0.8647 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.02193/0.6553, allocations: 14.71 MB / 0.8791 GB, free: 2.504 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)