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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007885/0.007885, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001418/0.001418, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8298/0.8298, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 66.52 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1755, allocations: 80.22 MB / 0.6596 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005998/0.1816, allocations: 4.191 MB / 0.6637 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6789/0.8605, allocations: 150.5 MB / 0.8107 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.8614, allocations: 20.88 kB / 0.8107 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.862, allocations: 167.3 kB / 0.8109 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.8637, allocations: 491.6 kB / 0.8113 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.8655, allocations: 0.8094 MB / 0.8121 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.8666, allocations: 1.216 MB / 0.8133 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.8674, allocations: 0.6378 MB / 0.8139 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.868, allocations: 449.1 kB / 0.8144 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.8685, allocations: 461.8 kB / 0.8148 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.8687, allocations: 104.9 kB / 0.8149 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009854/0.8697, allocations: 476.5 kB / 0.8154 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.87, allocations: 273.4 kB / 0.8156 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.8704, allocations: 0.5032 MB / 0.8161 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001718/0.8722, allocations: 1.504 MB / 0.8176 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.8722, allocations: 2.562 kB / 0.8176 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8722, allocations: 0 / 0.8176 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.8722, allocations: 0 / 0.8176 GB, free: 9.949 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.002173/0.8744, allocations: 1.338 MB / 0.8189 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.8744, allocations: 18.72 kB / 0.8189 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.8756, allocations: 218.8 kB / 0.8191 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.8767, allocations: 0.7413 MB / 0.8199 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/0.8768, allocations: 64.12 kB / 0.8199 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.8769, allocations: 76.91 kB / 0.82 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.8785, allocations: 0.9249 MB / 0.8209 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.8786, allocations: 2.812 kB / 0.8209 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.8787, allocations: 36.03 kB / 0.8209 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.8787, allocations: 21.06 kB / 0.8209 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.8804, allocations: 1.115 MB / 0.822 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.8841, allocations: 2.651 MB / 0.8246 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.8856, allocations: 0.85 MB / 0.8255 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.8861, allocations: 287 kB / 0.8257 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.8862, allocations: 30.91 kB / 0.8258 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007371/0.887, allocations: 429.5 kB / 0.8262 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 2.044e-06/0.887, allocations: 4 kB / 0.8262 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.002815/0.8898, allocations: 1.084 MB / 0.8272 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.8899, allocations: 191.9 kB / 0.8274 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000686/0.8906, allocations: 0.5953 MB / 0.828 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.708e-05/0.8907, allocations: 39.27 kB / 0.828 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.891, allocations: 389.6 kB / 0.8284 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.8912, allocations: 249.4 kB / 0.8286 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.8914, allocations: 160.3 kB / 0.8288 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8916, allocations: 384 kB / 0.8292 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.892, allocations: 243.1 kB / 0.8294 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.8926, allocations: 350.9 kB / 0.8297 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.8936, allocations: 0.5828 MB / 0.8303 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8936, allocations: 2.812 kB / 0.8303 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001845/0.8954, allocations: 0.8038 MB / 0.8311 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.8955, allocations: 4.875 kB / 0.8311 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8955, allocations: 2.375 kB / 0.8311 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.8961, allocations: 83.92 kB / 0.8312 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.8967, allocations: 157.8 kB / 0.8313 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/0.8989, allocations: 1.635 MB / 0.8329 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.8997, allocations: 78.97 kB / 0.833 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.8997, allocations: 34.69 kB / 0.833 GB, free: 15.06 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.000538/0.9003, allocations: 259.5 kB / 0.8333 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.9005, allocations: 78 kB / 0.8333 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.9027, allocations: 0.9869 MB / 0.8343 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.9027, allocations: 9.875 kB / 0.8343 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.9027, allocations: 0 / 0.8343 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.9028, allocations: 7.922 kB / 0.8343 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.906, allocations: 1.917 MB / 0.8362 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.906, allocations: 0 / 0.8362 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.9066, allocations: 146.5 kB / 0.8363 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004083/0.907, allocations: 74.47 kB / 0.8364 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.907, allocations: 19.42 kB / 0.8364 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.9088, allocations: 1.668 MB / 0.8381 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9088, allocations: 3.938 kB / 0.8381 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.9105, allocations: 0.9134 MB / 0.839 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.9108, allocations: 248.8 kB / 0.8392 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.9109, allocations: 16.81 kB / 0.8392 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.9115, allocations: 60.97 kB / 0.8393 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.9116, allocations: 63.45 kB / 0.8393 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.9117, allocations: 32.08 kB / 0.8394 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004868/0.9122, allocations: 426.1 kB / 0.8398 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9122, allocations: 0 / 0.8398 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008477/0.913, allocations: 303.3 kB / 0.8401 GB, free: 10.08 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.001373/0.9144, allocations: 0.5914 MB / 0.8406 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.9159, allocations: 0.7668 MB / 0.8414 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9159, allocations: 6.719 kB / 0.8414 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/0.9167, allocations: 496.1 kB / 0.8419 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.918, allocations: 310.7 kB / 0.8422 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.9217, allocations: 1.659 MB / 0.8438 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.9223, allocations: 1.007 MB / 0.8448 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007636/0.9231, allocations: 254.2 kB / 0.845 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.9233, allocations: 103.3 kB / 0.8451 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.9233, allocations: 0 / 0.8451 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of Templates: time 0.02486/0.9482, allocations: 14.4 MB / 0.8592 GB, free: 8.195 MB / 0.6231 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)