Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001302/0.001302, allocations: 117.3 kB / 16.37 MB, free: 6.012 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.001342/0.001343, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.195/1.195, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.725/0.725, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.89 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2739, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004615/0.2786, allocations: 4.203 MB / 0.5899 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1379/0.4165, allocations: 150.5 MB / 0.7368 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007542/0.4173, allocations: 19.88 kB / 0.7368 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.4179, allocations: 166.4 kB / 0.737 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.4196, allocations: 489 kB / 0.7375 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.4214, allocations: 0.8019 MB / 0.7382 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.4226, allocations: 1.214 MB / 0.7394 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007722/0.4234, allocations: 0.643 MB / 0.7401 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.4238, allocations: 450.3 kB / 0.7405 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.4243, allocations: 460.2 kB / 0.7409 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4244, allocations: 104 kB / 0.741 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000684/0.4251, allocations: 479.6 kB / 0.7415 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.4253, allocations: 275.1 kB / 0.7417 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.4257, allocations: 0.5012 MB / 0.7422 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.427, allocations: 1.499 MB / 0.7437 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.427, allocations: 0 / 0.7437 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.427, allocations: 0 / 0.7437 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.427, allocations: 0 / 0.7437 GB, free: 8.238 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00189/0.4289, allocations: 1.346 MB / 0.745 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.429, allocations: 17.05 kB / 0.745 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.43, allocations: 215.5 kB / 0.7452 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009788/0.431, allocations: 0.7384 MB / 0.746 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.4311, allocations: 65.98 kB / 0.746 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.4312, allocations: 80 kB / 0.7461 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.4326, allocations: 0.9169 MB / 0.747 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.4326, allocations: 0 / 0.747 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.4327, allocations: 39.94 kB / 0.747 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.4327, allocations: 20 kB / 0.747 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.4344, allocations: 1.12 MB / 0.7481 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.4377, allocations: 2.66 MB / 0.7507 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.22/0.6577, allocations: 0.8638 MB / 0.7516 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006487/0.6584, allocations: 277.5 kB / 0.7518 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.714e-05/0.6585, allocations: 29.94 kB / 0.7519 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007308/0.6592, allocations: 428.4 kB / 0.7523 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=74): time 2.144e-06/0.6593, allocations: 1.125 kB / 0.7523 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=74): time 0.002741/0.662, allocations: 1.083 MB / 0.7533 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6621, allocations: 189.8 kB / 0.7535 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.6627, allocations: 0.5916 MB / 0.7541 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.6627, allocations: 41.8 kB / 0.7541 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.6629, allocations: 389 kB / 0.7545 GB, free: 164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.6631, allocations: 244.3 kB / 0.7547 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.6633, allocations: 156.1 kB / 0.7549 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/0.6634, allocations: 385.7 kB / 0.7553 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.6638, allocations: 241.8 kB / 0.7555 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.6644, allocations: 348.3 kB / 0.7558 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/0.6653, allocations: 0.5886 MB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6653, allocations: 0.6875 kB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001691/0.667, allocations: 0.8008 MB / 0.7572 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.667, allocations: 10.47 kB / 0.7572 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6671, allocations: 1.844 kB / 0.7572 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.6676, allocations: 82.89 kB / 0.7573 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.6682, allocations: 157.9 kB / 0.7574 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.6699, allocations: 1.629 MB / 0.759 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.6705, allocations: 84.83 kB / 0.7591 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.6706, allocations: 38.53 kB / 0.7591 GB, free: 161 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: 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.0003202/0.6709, allocations: 267.4 kB / 0.7594 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.6711, allocations: 76.06 kB / 0.7595 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.6732, allocations: 0.9771 MB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.6732, allocations: 8.812 kB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.6732, allocations: 0.5312 kB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.6732, allocations: 6.812 kB / 0.7604 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.6761, allocations: 1.922 MB / 0.7623 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6761, allocations: 4 kB / 0.7623 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005055/0.6766, allocations: 143.4 kB / 0.7624 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/0.677, allocations: 68.17 kB / 0.7625 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.677, allocations: 30.39 kB / 0.7625 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.6784, allocations: 1.653 MB / 0.7642 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6784, allocations: 0.625 kB / 0.7642 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.6799, allocations: 0.9227 MB / 0.7651 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.6802, allocations: 252.8 kB / 0.7653 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.459e-05/0.6803, allocations: 19.12 kB / 0.7653 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.6808, allocations: 54.03 kB / 0.7654 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6809, allocations: 63.06 kB / 0.7654 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-05/0.6809, allocations: 26.17 kB / 0.7655 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003453/0.6813, allocations: 428.7 kB / 0.7659 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.22e-07/0.6813, allocations: 0 / 0.7659 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006403/0.6819, allocations: 298.3 kB / 0.7661 GB, free: 156.4 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: 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.001089/0.683, allocations: 0.601 MB / 0.7667 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.6842, allocations: 0.7735 MB / 0.7675 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6842, allocations: 9.656 kB / 0.7675 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/0.6849, allocations: 489.4 kB / 0.768 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.6858, allocations: 303.1 kB / 0.7683 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.6885, allocations: 1.642 MB / 0.7699 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.6888, allocations: 1.01 MB / 0.7708 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005964/0.6894, allocations: 253.8 kB / 0.7711 GB, free: 152 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.6897, allocations: 107.3 kB / 0.7712 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.6897, allocations: 0 / 0.7712 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.4689/1.159, allocations: 14.28 MB / 0.7851 GB, free: 137.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)