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.001866/0.001866, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002254/0.002254, allocations: 193.3 kB / 16.25 MB, free: 6.645 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.407/1.407, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9538/0.9538, allocations: 135.6 MB / 425.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 68.84 kB / 0.5054 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1907, allocations: 81.02 MB / 0.5845 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006597/0.1973, allocations: 4.193 MB / 0.5886 GB, free: 176 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4694/0.6667, allocations: 148.3 MB / 0.7334 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009868/0.6678, allocations: 18.88 kB / 0.7334 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008651/0.6687, allocations: 131.4 kB / 0.7335 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.6709, allocations: 431 kB / 0.7339 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.6733, allocations: 0.721 MB / 0.7346 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001893/0.6752, allocations: 1.207 MB / 0.7358 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009875/0.6762, allocations: 0.637 MB / 0.7364 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006886/0.6769, allocations: 442.8 kB / 0.7369 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.6774, allocations: 462.7 kB / 0.7373 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.6775, allocations: 104 kB / 0.7374 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.6783, allocations: 455.5 kB / 0.7378 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.6786, allocations: 271.2 kB / 0.7381 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004464/0.679, allocations: 0.4992 MB / 0.7386 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.6807, allocations: 1.463 MB / 0.74 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6807, allocations: 0 / 0.74 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6808, allocations: 5.719 kB / 0.74 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.621e-05/0.6808, allocations: 0 / 0.74 GB, free: 9.914 MB / 0.5606 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.00235/0.6831, allocations: 1.352 MB / 0.7413 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.6832, allocations: 9.625 kB / 0.7414 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.6844, allocations: 218.9 kB / 0.7416 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.6855, allocations: 0.7121 MB / 0.7423 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.6856, allocations: 63.44 kB / 0.7423 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6857, allocations: 80.75 kB / 0.7424 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.6875, allocations: 0.9211 MB / 0.7433 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6875, allocations: 0 / 0.7433 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.845e-05/0.6876, allocations: 35.75 kB / 0.7433 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6877, allocations: 21.03 kB / 0.7433 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.6895, allocations: 1.114 MB / 0.7444 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004221/0.6938, allocations: 2.688 MB / 0.7471 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.6953, allocations: 0.8579 MB / 0.7479 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.6958, allocations: 282.4 kB / 0.7482 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.6959, allocations: 32.62 kB / 0.7482 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/0.6968, allocations: 435.2 kB / 0.7486 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.205e-06/0.6968, allocations: 0 / 0.7486 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.003051/0.6999, allocations: 1.081 MB / 0.7497 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.7, allocations: 196.6 kB / 0.7499 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008418/0.7009, allocations: 0.5862 MB / 0.7504 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.701, allocations: 37.7 kB / 0.7505 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.7013, allocations: 392.1 kB / 0.7508 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.7016, allocations: 252.4 kB / 0.7511 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.7018, allocations: 162.5 kB / 0.7512 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.702, allocations: 378.7 kB / 0.7516 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.7025, allocations: 239.5 kB / 0.7518 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.7031, allocations: 349.7 kB / 0.7522 GB, free: 312 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.7042, allocations: 0.5863 MB / 0.7527 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.7042, allocations: 0 / 0.7527 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001925/0.7062, allocations: 0.8019 MB / 0.7535 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7062, allocations: 8 kB / 0.7535 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7062, allocations: 0 / 0.7535 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006097/0.7068, allocations: 80.97 kB / 0.7536 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.7075, allocations: 159.7 kB / 0.7538 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.7097, allocations: 1.629 MB / 0.7553 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.7105, allocations: 87.42 kB / 0.7554 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.7105, allocations: 31.98 kB / 0.7555 GB, free: 12.75 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.0004623/0.711, allocations: 260.4 kB / 0.7557 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.7112, allocations: 75.06 kB / 0.7558 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.7134, allocations: 0.9922 MB / 0.7567 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.7135, allocations: 12 kB / 0.7568 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.7135, allocations: 3.938 kB / 0.7568 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7135, allocations: 7.922 kB / 0.7568 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/0.7169, allocations: 1.919 MB / 0.7586 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.7169, allocations: 0 / 0.7586 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.7175, allocations: 143.8 kB / 0.7588 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.7179, allocations: 76.73 kB / 0.7589 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.718, allocations: 19.98 kB / 0.7589 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.7201, allocations: 1.658 MB / 0.7605 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7201, allocations: 144 / 0.7605 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.722, allocations: 0.9254 MB / 0.7614 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.7224, allocations: 247.8 kB / 0.7616 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7226, allocations: 16 kB / 0.7616 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005728/0.7231, allocations: 60.92 kB / 0.7617 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.7233, allocations: 60.91 kB / 0.7618 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.652e-05/0.7234, allocations: 35.98 kB / 0.7618 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005611/0.7239, allocations: 423 kB / 0.7622 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7239, allocations: 0 / 0.7622 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009362/0.7249, allocations: 299.2 kB / 0.7625 GB, free: 5.285 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.001827/0.7267, allocations: 0.5926 MB / 0.7631 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.729, allocations: 0.9597 MB / 0.764 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.729, allocations: 384 / 0.764 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009025/0.7299, allocations: 0.489 MB / 0.7645 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.7312, allocations: 308.3 kB / 0.7648 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.7352, allocations: 2.069 MB / 0.7668 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.7359, allocations: 1.011 MB / 0.7678 GB, free: 56 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000887/0.7368, allocations: 258.2 kB / 0.768 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.7371, allocations: 103.3 kB / 0.7681 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.7371, allocations: 4 kB / 0.7681 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.02681/0.7639, allocations: 14.18 MB / 0.782 GB, free: 1.664 MB / 0.5919 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)