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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.748/0.748, allocations: 133.3 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 404.7 MB, free: 6.105 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009853/0.0009852, allocations: 115.2 kB / 485.9 MB, free: 7.258 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009574/0.0009575, allocations: 55.92 kB / 0.5636 GB, free: 69.97 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1199, allocations: 80.44 MB / 0.6421 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006074/0.126, allocations: 4.208 MB / 0.6462 GB, free: 1.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.409/0.535, allocations: 148.2 MB / 0.7909 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.5357, allocations: 19.88 kB / 0.791 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.5362, allocations: 134 kB / 0.7911 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.5374, allocations: 410.1 kB / 0.7915 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.5395, allocations: 0.6964 MB / 0.7922 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.5406, allocations: 1.141 MB / 0.7933 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008975/0.5415, allocations: 0.6104 MB / 0.7939 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.542, allocations: 402.2 kB / 0.7942 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.5425, allocations: 427 kB / 0.7947 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.5426, allocations: 56 kB / 0.7947 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007052/0.5433, allocations: 392.5 kB / 0.7951 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.5435, allocations: 219.1 kB / 0.7953 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.5439, allocations: 461.3 kB / 0.7957 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5451, allocations: 1.418 MB / 0.7971 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5451, allocations: 0 / 0.7971 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.12e-07/0.5451, allocations: 0 / 0.7971 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.5451, allocations: 0 / 0.7971 GB, free: 2.441 MB / 0.5261 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.00204/0.5472, allocations: 1.358 MB / 0.7984 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5472, allocations: 8.031 kB / 0.7984 GB, free: 1.027 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.5484, allocations: 223.5 kB / 0.7987 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.5494, allocations: 0.7037 MB / 0.7994 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.5494, allocations: 66.05 kB / 0.7994 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.5496, allocations: 79.94 kB / 0.7995 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.551, allocations: 0.9265 MB / 0.8004 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.5511, allocations: 4 kB / 0.8004 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.5511, allocations: 32 kB / 0.8004 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.5512, allocations: 20 kB / 0.8004 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.553, allocations: 1.116 MB / 0.8015 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003775/0.5568, allocations: 2.7 MB / 0.8042 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.5584, allocations: 0.8469 MB / 0.805 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/0.5589, allocations: 287.2 kB / 0.8053 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.81e-05/0.559, allocations: 36.61 kB / 0.8053 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007773/0.5598, allocations: 427.3 kB / 0.8057 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=74): time 2.875e-06/0.5598, allocations: 0 / 0.8057 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.002978/0.5628, allocations: 1.088 MB / 0.8068 GB, free: 8.246 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/0.5629, allocations: 192.6 kB / 0.807 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.5635, allocations: 0.5862 MB / 0.8075 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.5636, allocations: 41.7 kB / 0.8076 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5639, allocations: 392.1 kB / 0.808 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.5641, allocations: 244.4 kB / 0.8082 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.5643, allocations: 158.5 kB / 0.8083 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5645, allocations: 382.7 kB / 0.8087 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.5649, allocations: 245.8 kB / 0.8089 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.5655, allocations: 345.7 kB / 0.8093 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.5666, allocations: 0.5862 MB / 0.8098 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5666, allocations: 4 kB / 0.8098 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001821/0.5684, allocations: 0.8058 MB / 0.8106 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5685, allocations: 4 kB / 0.8106 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.5685, allocations: 0 / 0.8106 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.5691, allocations: 80.97 kB / 0.8107 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.5697, allocations: 160.7 kB / 0.8109 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.5717, allocations: 1.524 MB / 0.8123 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.5723, allocations: 83.33 kB / 0.8124 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/0.5724, allocations: 31.97 kB / 0.8125 GB, free: 2.16 MB / 0.5417 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.0003956/0.5728, allocations: 255 kB / 0.8127 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.573, allocations: 83.06 kB / 0.8128 GB, free: 1.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.5752, allocations: 0.9919 MB / 0.8138 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.5752, allocations: 8 kB / 0.8138 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.5752, allocations: 0 / 0.8138 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5752, allocations: 3.984 kB / 0.8138 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.5784, allocations: 1.911 MB / 0.8156 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5784, allocations: 0 / 0.8156 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.579, allocations: 147.7 kB / 0.8158 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.5796, allocations: 84.77 kB / 0.8158 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.5796, allocations: 27.92 kB / 0.8159 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.5814, allocations: 1.544 MB / 0.8174 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.5814, allocations: 4 kB / 0.8174 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/0.5842, allocations: 1.916 MB / 0.8193 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.5845, allocations: 255.8 kB / 0.8195 GB, free: 10.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.5846, allocations: 20 kB / 0.8195 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.5852, allocations: 56.92 kB / 0.8196 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5854, allocations: 60.91 kB / 0.8196 GB, free: 10.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.5854, allocations: 35.92 kB / 0.8197 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004923/0.5859, allocations: 429.7 kB / 0.8201 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/0.586, allocations: 0 / 0.8201 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009074/0.5869, allocations: 307.2 kB / 0.8204 GB, free: 9.746 MB / 0.5573 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.001219/0.5881, allocations: 0.5993 MB / 0.821 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001512/0.5896, allocations: 0.7696 MB / 0.8217 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5896, allocations: 0 / 0.8217 GB, free: 8.547 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008564/0.5905, allocations: 492.2 kB / 0.8222 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5917, allocations: 286.4 kB / 0.8225 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.5958, allocations: 2.511 MB / 0.8249 GB, free: 5.223 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.5964, allocations: 1.027 MB / 0.8259 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008192/0.5972, allocations: 250.3 kB / 0.8261 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.5975, allocations: 95.39 kB / 0.8262 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of SimCode: time 4.71e-07/0.5975, allocations: 3.938 kB / 0.8262 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of Templates: time 0.02223/0.6197, allocations: 14.07 MB / 0.84 GB, free: 5.883 MB / 0.573 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)