Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001371/0.001371, allocations: 182.4 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/package.mo): time 0.7664/0.7664, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.398/1.398, allocations: 222.9 MB / 403.4 MB, free: 7.102 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.001033/0.001033, allocations: 100.8 kB / 484.3 MB, free: 8.738 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009708/0.0009709, allocations: 51.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.123, allocations: 80.21 MB / 0.6402 GB, free: 6.816 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005318/0.1284, allocations: 4.211 MB / 0.6443 GB, free: 2.578 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4333/0.5617, allocations: 148.2 MB / 0.789 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006958/0.5624, allocations: 19.88 kB / 0.789 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.563, allocations: 134 kB / 0.7891 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.5643, allocations: 416.1 kB / 0.7895 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.566, allocations: 0.6869 MB / 0.7902 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001034/0.5671, allocations: 1.145 MB / 0.7913 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007792/0.5679, allocations: 0.6223 MB / 0.7919 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.5684, allocations: 390.4 kB / 0.7923 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.5688, allocations: 433.9 kB / 0.7927 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.5689, allocations: 52 kB / 0.7927 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.5697, allocations: 396.6 kB / 0.7931 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.5699, allocations: 223.1 kB / 0.7933 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.5703, allocations: 461.3 kB / 0.7938 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.5716, allocations: 1.414 MB / 0.7952 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5716, allocations: 4 kB / 0.7952 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5716, allocations: 0 / 0.7952 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.5716, allocations: 0 / 0.7952 GB, free: 4.402 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.002113/0.5738, allocations: 1.35 MB / 0.7965 GB, free: 3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.5738, allocations: 12.02 kB / 0.7965 GB, free: 2.988 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.5749, allocations: 223.4 kB / 0.7967 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000968/0.5759, allocations: 0.7076 MB / 0.7974 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.576, allocations: 58 kB / 0.7974 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.5761, allocations: 80 kB / 0.7975 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.5776, allocations: 0.9247 MB / 0.7984 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5776, allocations: 0 / 0.7984 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.5777, allocations: 39.56 kB / 0.7985 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.5777, allocations: 24 kB / 0.7985 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.5797, allocations: 1.116 MB / 0.7996 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.5839, allocations: 2.69 MB / 0.8022 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.5854, allocations: 0.8508 MB / 0.803 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.5859, allocations: 282.7 kB / 0.8033 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.144e-05/0.586, allocations: 32.62 kB / 0.8033 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007784/0.5868, allocations: 435.2 kB / 0.8038 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=74): time 2.955e-06/0.5868, allocations: 0 / 0.8038 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.002847/0.5897, allocations: 1.084 MB / 0.8048 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/0.5898, allocations: 196.6 kB / 0.805 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.5905, allocations: 0.5862 MB / 0.8056 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.5905, allocations: 37.7 kB / 0.8056 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.5908, allocations: 388.2 kB / 0.806 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.591, allocations: 252.4 kB / 0.8062 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.5912, allocations: 158.5 kB / 0.8064 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.5913, allocations: 378.7 kB / 0.8067 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.5918, allocations: 241.9 kB / 0.807 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.5924, allocations: 357.6 kB / 0.8073 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.5934, allocations: 0.5824 MB / 0.8079 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.5934, allocations: 0 / 0.8079 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001751/0.5952, allocations: 0.8058 MB / 0.8087 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5952, allocations: 4.938 kB / 0.8087 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5953, allocations: 4 kB / 0.8087 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005794/0.5958, allocations: 80.97 kB / 0.8087 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.5965, allocations: 151.8 kB / 0.8089 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.5984, allocations: 1.524 MB / 0.8104 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.599, allocations: 84.03 kB / 0.8105 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.599, allocations: 35.97 kB / 0.8105 GB, free: 4.133 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.0003299/0.5994, allocations: 258 kB / 0.8107 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.5995, allocations: 82.75 kB / 0.8108 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.6017, allocations: 0.987 MB / 0.8118 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.6017, allocations: 11.98 kB / 0.8118 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6017, allocations: 4 kB / 0.8118 GB, free: 2.781 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.6017, allocations: 3.984 kB / 0.8118 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.6048, allocations: 1.907 MB / 0.8137 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6048, allocations: 48 / 0.8137 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.6053, allocations: 155.7 kB / 0.8138 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/0.6059, allocations: 80.77 kB / 0.8139 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/0.6059, allocations: 23.98 kB / 0.8139 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.6076, allocations: 1.55 MB / 0.8154 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6076, allocations: 0 / 0.8154 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/0.6103, allocations: 1.92 MB / 0.8173 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.6106, allocations: 259.8 kB / 0.8175 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.6107, allocations: 16 kB / 0.8176 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.6113, allocations: 53.62 kB / 0.8176 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.6114, allocations: 64.91 kB / 0.8177 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.6115, allocations: 27.98 kB / 0.8177 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000466/0.612, allocations: 431.1 kB / 0.8181 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.92e-07/0.612, allocations: 3.938 kB / 0.8181 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008827/0.6129, allocations: 307.2 kB / 0.8184 GB, free: 11.73 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.001255/0.6141, allocations: 0.5854 MB / 0.819 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.6156, allocations: 0.7696 MB / 0.8197 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6157, allocations: 4 kB / 0.8197 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008287/0.6165, allocations: 492.3 kB / 0.8202 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.6177, allocations: 273.7 kB / 0.8205 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.6219, allocations: 2.522 MB / 0.8229 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.6225, allocations: 1.035 MB / 0.8239 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007873/0.6232, allocations: 254.2 kB / 0.8242 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/0.6235, allocations: 103.4 kB / 0.8243 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/0.6235, allocations: 0 / 0.8243 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of Templates: time 0.02207/0.6456, allocations: 14.06 MB / 0.838 GB, free: 7.863 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1)