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.008415/0.008415, allocations: 97.81 kB / 15.73 MB, free: 5.961 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.001904/0.001904, allocations: 195 kB / 16.67 MB, free: 5.883 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8436/0.8436, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 61.81 kB / 0.5856 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.216, allocations: 80.9 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006703/0.2228, allocations: 4.211 MB / 0.6687 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7291/0.9519, allocations: 150.5 MB / 0.8157 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.9531, allocations: 20.25 kB / 0.8157 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008437/0.954, allocations: 166.7 kB / 0.8159 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002311/0.9564, allocations: 492.3 kB / 0.8163 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.9589, allocations: 0.7946 MB / 0.8171 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.9608, allocations: 1.222 MB / 0.8183 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.9618, allocations: 0.6346 MB / 0.8189 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.9626, allocations: 446 kB / 0.8193 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.9631, allocations: 459.1 kB / 0.8198 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.9633, allocations: 102.4 kB / 0.8199 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009617/0.9643, allocations: 482.5 kB / 0.8203 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.9645, allocations: 267.6 kB / 0.8206 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.9649, allocations: 0.502 MB / 0.8211 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.9667, allocations: 1.516 MB / 0.8226 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9668, allocations: 4 kB / 0.8226 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9668, allocations: 0 / 0.8226 GB, free: 5.316 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.9668, allocations: 0 / 0.8226 GB, free: 5.316 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.002124/0.9689, allocations: 1.377 MB / 0.8239 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.969, allocations: 8.516 kB / 0.8239 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.9701, allocations: 239.7 kB / 0.8241 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.9712, allocations: 0.7354 MB / 0.8249 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.773e-05/0.9713, allocations: 63.16 kB / 0.8249 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.9714, allocations: 78.72 kB / 0.825 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.973, allocations: 0.9267 MB / 0.8259 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.9731, allocations: 0 / 0.8259 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.9731, allocations: 34.34 kB / 0.8259 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.9732, allocations: 20.69 kB / 0.826 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.9749, allocations: 1.119 MB / 0.827 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.9785, allocations: 2.653 MB / 0.8296 GB, free: 164 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.9801, allocations: 0.8481 MB / 0.8305 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/0.9806, allocations: 279.2 kB / 0.8307 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.098e-05/0.9806, allocations: 41.56 kB / 0.8308 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007157/0.9814, allocations: 424.6 kB / 0.8312 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=74): time 4.188e-06/0.9814, allocations: 3.984 kB / 0.8312 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=74): time 0.002781/0.9842, allocations: 1.092 MB / 0.8322 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.9843, allocations: 194.1 kB / 0.8324 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006736/0.985, allocations: 0.5924 MB / 0.833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.985, allocations: 40.83 kB / 0.833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.9853, allocations: 400.2 kB / 0.8334 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.9855, allocations: 263.7 kB / 0.8337 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.9858, allocations: 156.4 kB / 0.8338 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9859, allocations: 380.1 kB / 0.8342 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.9864, allocations: 242.3 kB / 0.8344 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005608/0.9869, allocations: 356.8 kB / 0.8348 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009842/0.9879, allocations: 0.5832 MB / 0.8353 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9879, allocations: 1.812 kB / 0.8353 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001686/0.9896, allocations: 0.808 MB / 0.8361 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.9897, allocations: 9.625 kB / 0.8361 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.9897, allocations: 2.094 kB / 0.8361 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005536/0.9902, allocations: 80.22 kB / 0.8362 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.9908, allocations: 153.8 kB / 0.8364 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.9928, allocations: 1.63 MB / 0.838 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.9934, allocations: 91.41 kB / 0.838 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.9935, allocations: 35.61 kB / 0.8381 GB, free: 10.14 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.0003424/0.9938, allocations: 259.7 kB / 0.8383 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.994, allocations: 78.73 kB / 0.8384 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.9961, allocations: 0.9814 MB / 0.8394 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.9961, allocations: 10.09 kB / 0.8394 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.9961, allocations: 0 / 0.8394 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.9961, allocations: 7.922 kB / 0.8394 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.9991, allocations: 1.915 MB / 0.8412 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.9991, allocations: 2.562 kB / 0.8412 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.9996, allocations: 145.4 kB / 0.8414 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/1, allocations: 70.89 kB / 0.8414 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/1, allocations: 19.77 kB / 0.8415 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/1.002, allocations: 1.665 MB / 0.8431 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.002, allocations: 4.062 kB / 0.8431 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/1.004, allocations: 0.9267 MB / 0.844 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/1.004, allocations: 254.5 kB / 0.8442 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/1.004, allocations: 13.91 kB / 0.8443 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/1.004, allocations: 52.78 kB / 0.8443 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.005, allocations: 66.84 kB / 0.8444 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/1.005, allocations: 36.39 kB / 0.8444 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004932/1.005, allocations: 425.9 kB / 0.8448 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/1.005, allocations: 0 / 0.8448 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008535/1.006, allocations: 303.8 kB / 0.8451 GB, free: 5.121 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.001399/1.007, allocations: 0.596 MB / 0.8457 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001505/1.009, allocations: 0.7716 MB / 0.8464 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.009, allocations: 0 / 0.8464 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008189/1.01, allocations: 0.4888 MB / 0.8469 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/1.011, allocations: 301.8 kB / 0.8472 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/1.015, allocations: 1.691 MB / 0.8489 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/1.015, allocations: 0.9994 MB / 0.8498 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007602/1.016, allocations: 262.2 kB / 0.8501 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/1.016, allocations: 95.39 kB / 0.8502 GB, free: 440 kB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/1.016, allocations: 0 / 0.8502 GB, free: 440 kB / 0.6075 GB Notification: Performance of Templates: time 0.02364/1.04, allocations: 14.41 MB / 0.8642 GB, free: 2.141 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)