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.007093/0.007093, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001624/0.001624, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8403/0.8403, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 61.69 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1989, allocations: 80.93 MB / 0.6646 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006309/0.2053, allocations: 4.2 MB / 0.6687 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7707/0.976, allocations: 150.5 MB / 0.8157 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.9771, allocations: 16.5 kB / 0.8157 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.9778, allocations: 168.9 kB / 0.8159 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.9798, allocations: 489.4 kB / 0.8163 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.9822, allocations: 0.8043 MB / 0.8171 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.9841, allocations: 1.219 MB / 0.8183 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.9851, allocations: 0.6476 MB / 0.8189 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008033/0.986, allocations: 447.3 kB / 0.8194 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.9866, allocations: 455.2 kB / 0.8198 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.9867, allocations: 104.2 kB / 0.8199 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.9878, allocations: 481.7 kB / 0.8203 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.9881, allocations: 277 kB / 0.8206 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004618/0.9886, allocations: 0.5004 MB / 0.8211 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/0.9904, allocations: 1.5 MB / 0.8226 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9904, allocations: 10.19 kB / 0.8226 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9904, allocations: 0 / 0.8226 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.9905, allocations: 0 / 0.8226 GB, free: 5.398 MB / 0.5919 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.002476/0.9929, allocations: 1.336 MB / 0.8239 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.993, allocations: 11.86 kB / 0.8239 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.9943, allocations: 220.4 kB / 0.8241 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.9955, allocations: 0.7386 MB / 0.8248 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.9955, allocations: 69.25 kB / 0.8249 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.9957, allocations: 77 kB / 0.825 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.9973, allocations: 0.9187 MB / 0.8259 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.9974, allocations: 7.688 kB / 0.8259 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.9974, allocations: 34.09 kB / 0.8259 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.9975, allocations: 19.5 kB / 0.8259 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.9993, allocations: 1.111 MB / 0.827 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/1.003, allocations: 2.652 MB / 0.8296 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.005, allocations: 0.8593 MB / 0.8304 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/1.006, allocations: 283.3 kB / 0.8307 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.501e-05/1.006, allocations: 35.08 kB / 0.8307 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000898/1.007, allocations: 427.6 kB / 0.8311 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 3.947e-06/1.007, allocations: 0 / 0.8311 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.003305/1.01, allocations: 1.09 MB / 0.8322 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.01, allocations: 187.4 kB / 0.8324 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008787/1.011, allocations: 0.5962 MB / 0.833 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.336e-05/1.011, allocations: 42.98 kB / 0.833 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.011, allocations: 384.9 kB / 0.8334 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/1.012, allocations: 251.1 kB / 0.8336 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/1.012, allocations: 151.6 kB / 0.8338 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.012, allocations: 384.3 kB / 0.8341 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/1.013, allocations: 245.4 kB / 0.8344 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/1.013, allocations: 349.2 kB / 0.8347 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/1.014, allocations: 0.585 MB / 0.8353 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.014, allocations: 0 / 0.8353 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001808/1.016, allocations: 0.7996 MB / 0.836 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/1.016, allocations: 7.531 kB / 0.8361 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.016, allocations: 7.938 kB / 0.8361 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/1.017, allocations: 86.11 kB / 0.8361 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/1.017, allocations: 154.8 kB / 0.8363 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/1.019, allocations: 1.63 MB / 0.8379 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006952/1.02, allocations: 79.44 kB / 0.838 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/1.02, allocations: 38.75 kB / 0.838 GB, free: 10.31 MB / 0.6075 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.0005081/1.021, allocations: 259.2 kB / 0.8382 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/1.021, allocations: 74.34 kB / 0.8383 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.023, allocations: 0.9883 MB / 0.8393 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.023, allocations: 11.84 kB / 0.8393 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/1.023, allocations: 2.781 kB / 0.8393 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.023, allocations: 7.922 kB / 0.8393 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/1.026, allocations: 1.907 MB / 0.8412 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/1.026, allocations: 0 / 0.8412 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/1.027, allocations: 148.8 kB / 0.8413 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/1.027, allocations: 72 kB / 0.8414 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/1.027, allocations: 19.7 kB / 0.8414 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002029/1.029, allocations: 1.664 MB / 0.843 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.029, allocations: 1.875 kB / 0.843 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/1.032, allocations: 0.9196 MB / 0.8439 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/1.032, allocations: 252.8 kB / 0.8442 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.032, allocations: 14 kB / 0.8442 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/1.033, allocations: 56.78 kB / 0.8442 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.033, allocations: 58.92 kB / 0.8443 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/1.033, allocations: 32.3 kB / 0.8443 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006357/1.034, allocations: 430 kB / 0.8447 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/1.034, allocations: 0 / 0.8447 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001059/1.035, allocations: 301.4 kB / 0.845 GB, free: 5.312 MB / 0.6075 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.001666/1.036, allocations: 0.5991 MB / 0.8456 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001844/1.038, allocations: 0.7727 MB / 0.8464 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.038, allocations: 0 / 0.8464 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009595/1.039, allocations: 0.4927 MB / 0.8468 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/1.041, allocations: 298.4 kB / 0.8471 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/1.045, allocations: 1.665 MB / 0.8487 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008113/1.046, allocations: 0.9994 MB / 0.8497 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009097/1.047, allocations: 250.3 kB / 0.85 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.047, allocations: 95.39 kB / 0.85 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of SimCode: time 1.112e-06/1.047, allocations: 0 / 0.85 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of Templates: time 0.03022/1.077, allocations: 14.43 MB / 0.8641 GB, free: 2.301 MB / 0.6231 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)