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.001403/0.001403, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.005/1.005, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.81 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1928, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006135/0.199, allocations: 4.182 MB / 0.5884 GB, free: 348 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.51/0.709, allocations: 150.5 MB / 0.7354 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.7109, allocations: 15.12 kB / 0.7354 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.7123, allocations: 171.7 kB / 0.7356 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003355/0.7157, allocations: 485.6 kB / 0.7361 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.7187, allocations: 0.8033 MB / 0.7368 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.7211, allocations: 1.203 MB / 0.738 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.7226, allocations: 0.6398 MB / 0.7386 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.7237, allocations: 442.5 kB / 0.7391 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009409/0.7247, allocations: 457.3 kB / 0.7395 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.725, allocations: 103.4 kB / 0.7396 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/0.7262, allocations: 447.4 kB / 0.74 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.7266, allocations: 275.7 kB / 0.7403 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008103/0.7274, allocations: 0.5072 MB / 0.7408 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.7298, allocations: 1.459 MB / 0.7422 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.7299, allocations: 1.375 kB / 0.7422 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7299, allocations: 0 / 0.7422 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7299, allocations: 0 / 0.7422 GB, free: 8.363 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.002567/0.7325, allocations: 1.352 MB / 0.7435 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.7325, allocations: 8.438 kB / 0.7435 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.7338, allocations: 221.7 kB / 0.7437 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009816/0.7348, allocations: 0.7131 MB / 0.7444 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.7349, allocations: 62.38 kB / 0.7445 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.735, allocations: 85.62 kB / 0.7446 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.7366, allocations: 0.9193 MB / 0.7455 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.7367, allocations: 0 / 0.7455 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.7368, allocations: 40.36 kB / 0.7455 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.7368, allocations: 20.69 kB / 0.7455 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.7386, allocations: 1.116 MB / 0.7466 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.7427, allocations: 2.673 MB / 0.7492 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7444, allocations: 0.8624 MB / 0.7501 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005015/0.7449, allocations: 277.3 kB / 0.7503 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-05/0.745, allocations: 40.62 kB / 0.7504 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008228/0.7459, allocations: 431.2 kB / 0.7508 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=74): time 2.675e-06/0.7459, allocations: 0 / 0.7508 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74): time 0.003028/0.7489, allocations: 1.084 MB / 0.7519 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.749, allocations: 188.6 kB / 0.752 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.7499, allocations: 0.5901 MB / 0.7526 GB, free: 120 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.7499, allocations: 41.7 kB / 0.7526 GB, free: 72 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.7503, allocations: 392.2 kB / 0.753 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.7505, allocations: 248.4 kB / 0.7533 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.7507, allocations: 154.5 kB / 0.7534 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7508, allocations: 386.7 kB / 0.7538 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.7514, allocations: 237.9 kB / 0.754 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/0.7519, allocations: 353.6 kB / 0.7543 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/0.7529, allocations: 0.5863 MB / 0.7549 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.7529, allocations: 0 / 0.7549 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001857/0.7548, allocations: 0.7941 MB / 0.7557 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.7548, allocations: 8 kB / 0.7557 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7548, allocations: 0 / 0.7557 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.7555, allocations: 84.95 kB / 0.7558 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.7561, allocations: 155.8 kB / 0.7559 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.7583, allocations: 1.643 MB / 0.7575 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/0.7591, allocations: 75.38 kB / 0.7576 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.7592, allocations: 40.91 kB / 0.7576 GB, free: 10.73 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.0004518/0.7596, allocations: 253.6 kB / 0.7579 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.7598, allocations: 75.06 kB / 0.758 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.762, allocations: 0.9904 MB / 0.7589 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.762, allocations: 16 kB / 0.7589 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.762, allocations: 0 / 0.7589 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.762, allocations: 11.86 kB / 0.7589 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.7655, allocations: 1.911 MB / 0.7608 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.7655, allocations: 0 / 0.7608 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007523/0.7663, allocations: 145 kB / 0.761 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.7668, allocations: 72.78 kB / 0.761 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.7668, allocations: 24.86 kB / 0.761 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.7687, allocations: 1.662 MB / 0.7627 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7688, allocations: 0 / 0.7627 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.7707, allocations: 0.9179 MB / 0.7636 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/0.7711, allocations: 251.8 kB / 0.7638 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.7713, allocations: 16 kB / 0.7638 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/0.7719, allocations: 59.94 kB / 0.7639 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.772, allocations: 56.92 kB / 0.7639 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.7721, allocations: 27.98 kB / 0.764 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000573/0.7727, allocations: 431 kB / 0.7644 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7727, allocations: 0 / 0.7644 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001003/0.7737, allocations: 300 kB / 0.7647 GB, free: 3.277 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.0014/0.7751, allocations: 0.6034 MB / 0.7652 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.7775, allocations: 0.9678 MB / 0.7662 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.7776, allocations: 0 / 0.7662 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009675/0.7785, allocations: 492.3 kB / 0.7667 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.78, allocations: 305.7 kB / 0.767 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.7844, allocations: 1.678 MB / 0.7686 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/0.7852, allocations: 1.009 MB / 0.7696 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00102/0.7862, allocations: 258.3 kB / 0.7698 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.7865, allocations: 99.39 kB / 0.7699 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of SimCode: time 2.444e-06/0.7865, allocations: 0 / 0.7699 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of Templates: time 0.02559/0.8121, allocations: 14.26 MB / 0.7838 GB, free: 15.98 MB / 0.6075 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)