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.004562/0.004562, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001029/0.001029, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.534/1.534, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8285/0.8285, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 57.53 kB / 0.5813 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1907, allocations: 80.22 MB / 0.6596 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007167/0.1979, allocations: 4.191 MB / 0.6637 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6646/0.8625, allocations: 150.5 MB / 0.8107 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.8638, allocations: 20.62 kB / 0.8107 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000906/0.8648, allocations: 164.2 kB / 0.8109 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.867, allocations: 499.9 kB / 0.8114 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.8695, allocations: 0.8013 MB / 0.8121 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001826/0.8714, allocations: 1.216 MB / 0.8133 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.8726, allocations: 0.6452 MB / 0.814 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009738/0.8736, allocations: 450.6 kB / 0.8144 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.8745, allocations: 455.3 kB / 0.8148 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.8749, allocations: 103.7 kB / 0.8149 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.8762, allocations: 477.2 kB / 0.8154 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.8766, allocations: 276 kB / 0.8156 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007722/0.8774, allocations: 0.5026 MB / 0.8161 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.8797, allocations: 1.499 MB / 0.8176 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8797, allocations: 2.375 kB / 0.8176 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8797, allocations: 0 / 0.8176 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.855e-05/0.8798, 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.002331/0.8821, allocations: 1.345 MB / 0.8189 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8822, allocations: 7.75 kB / 0.8189 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.8833, allocations: 231.1 kB / 0.8191 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.8844, allocations: 0.7276 MB / 0.8198 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.8845, allocations: 68.28 kB / 0.8199 GB, free: 8.301 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/0.8846, allocations: 76.22 kB / 0.82 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.886, allocations: 0.9265 MB / 0.8209 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.8861, allocations: 3.938 kB / 0.8209 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.8861, allocations: 38.75 kB / 0.8209 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.8862, allocations: 23.19 kB / 0.8209 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.8879, allocations: 1.11 MB / 0.822 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/0.8917, allocations: 2.643 MB / 0.8246 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.8932, allocations: 0.8611 MB / 0.8255 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.8937, allocations: 282.9 kB / 0.8257 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.8938, allocations: 35.77 kB / 0.8258 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007047/0.8945, allocations: 429.6 kB / 0.8262 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=74): time 2.194e-06/0.8945, allocations: 0 / 0.8262 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of matching and sorting (n=74): time 0.003038/0.8975, allocations: 1.083 MB / 0.8272 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.8977, allocations: 188 kB / 0.8274 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007941/0.8985, allocations: 0.5981 MB / 0.828 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.049e-05/0.8986, allocations: 43.39 kB / 0.828 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.8989, allocations: 385.5 kB / 0.8284 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.8991, allocations: 247.3 kB / 0.8286 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.8994, allocations: 160.4 kB / 0.8288 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.8996, allocations: 387.6 kB / 0.8292 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.9002, allocations: 239.4 kB / 0.8294 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.9008, allocations: 357 kB / 0.8297 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.9019, allocations: 0.5829 MB / 0.8303 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.9019, allocations: 0 / 0.8303 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001787/0.9037, allocations: 0.7959 MB / 0.8311 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.9038, allocations: 15.02 kB / 0.8311 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.9038, allocations: 2.906 kB / 0.8311 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005815/0.9044, allocations: 82.91 kB / 0.8312 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/0.905, allocations: 152 kB / 0.8313 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.9071, allocations: 1.639 MB / 0.8329 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.9077, allocations: 78.94 kB / 0.833 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.281e-05/0.9078, allocations: 38.66 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.0003987/0.9082, allocations: 263.3 kB / 0.8333 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.9084, allocations: 77.19 kB / 0.8333 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.9108, allocations: 0.9811 MB / 0.8343 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.9108, allocations: 11.84 kB / 0.8343 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9108, allocations: 0 / 0.8343 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.9108, allocations: 7.922 kB / 0.8343 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.9142, allocations: 1.925 MB / 0.8362 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.9142, allocations: 3.984 kB / 0.8362 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/0.9147, allocations: 142.5 kB / 0.8363 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003987/0.9151, allocations: 69.95 kB / 0.8364 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.9152, allocations: 24.17 kB / 0.8364 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.917, allocations: 1.664 MB / 0.8381 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.917, allocations: 0 / 0.8381 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.9188, allocations: 0.9167 MB / 0.839 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.9191, allocations: 253.1 kB / 0.8392 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.9192, allocations: 17.66 kB / 0.8392 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.9198, allocations: 57.48 kB / 0.8393 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.9199, allocations: 62.73 kB / 0.8393 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.609e-05/0.92, allocations: 31.88 kB / 0.8394 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005066/0.9205, allocations: 426.5 kB / 0.8398 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9205, allocations: 0 / 0.8398 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008543/0.9213, allocations: 304.1 kB / 0.8401 GB, free: 10.07 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.001404/0.9228, allocations: 0.5813 MB / 0.8406 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.9243, allocations: 0.7744 MB / 0.8414 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9243, allocations: 0 / 0.8414 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008271/0.9251, allocations: 0.4919 MB / 0.8419 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.9263, allocations: 311.5 kB / 0.8422 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.9298, allocations: 1.665 MB / 0.8438 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.9303, allocations: 1.003 MB / 0.8448 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007001/0.931, allocations: 254.3 kB / 0.845 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.9313, allocations: 99.39 kB / 0.8451 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.9313, allocations: 7.938 kB / 0.8451 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.0242/0.9555, allocations: 14.39 MB / 0.8592 GB, free: 8.156 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)