Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.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/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) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/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) 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) Running command: translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 177.7 kB / 16.12 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 223.3 MB / 240.1 MB, free: 9.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007692/0.0007692, allocations: 98.33 kB / 291.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8648/0.8648, allocations: 122.9 MB / 465.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.09546/0.09546, allocations: 20.31 MB / 0.549 GB, free: 19.23 MB / 378.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006829/0.000683, allocations: 20 kB / 0.6406 GB, free: 5.828 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.432, allocations: 81.83 MB / 0.7205 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.5954, allocations: 120.2 MB / 0.8379 GB, free: 5.582 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.5958, allocations: 83.94 kB / 0.838 GB, free: 5.5 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.02581/0.6216, allocations: 7.993 MB / 0.8458 GB, free: 13.51 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6216, allocations: 0 / 0.8458 GB, free: 13.51 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.6216, allocations: 4 kB / 0.8458 GB, free: 13.51 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001075/0.6227, allocations: 0.5684 MB / 0.8463 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6228, allocations: 14.19 kB / 0.8464 GB, free: 12.86 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.6229, allocations: 16.75 kB / 0.8464 GB, free: 12.85 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.6232, allocations: 224.7 kB / 0.8466 GB, free: 12.59 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.6232, allocations: 12.31 kB / 0.8466 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.6232, allocations: 8.375 kB / 0.8466 GB, free: 12.57 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.6239, allocations: 221 kB / 0.8468 GB, free: 12.35 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.6239, allocations: 192 / 0.8468 GB, free: 12.35 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.6239, allocations: 3.938 kB / 0.8468 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.6239, allocations: 4 kB / 0.8468 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.6248, allocations: 259.8 kB / 0.8471 GB, free: 12.09 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007805/0.6256, allocations: 425.2 kB / 0.8475 GB, free: 11.62 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000681/0.6263, allocations: 226.4 kB / 0.8477 GB, free: 11.39 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.6267, allocations: 152.8 kB / 0.8478 GB, free: 11.24 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.6268, allocations: 3.984 kB / 0.8479 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/0.6274, allocations: 244.9 kB / 0.8481 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/0.6274, allocations: 0 / 0.8481 GB, free: 10.98 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.001564/0.629, allocations: 0.5115 MB / 0.8486 GB, free: 10.45 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.629, allocations: 85.09 kB / 0.8487 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.6292, allocations: 174.2 kB / 0.8488 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.6293, allocations: 29.7 kB / 0.8489 GB, free: 10.13 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.6294, allocations: 112.4 kB / 0.849 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.208e-05/0.6294, allocations: 51.39 kB / 0.849 GB, free: 9.965 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.6294, allocations: 12 kB / 0.849 GB, free: 9.953 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6296, allocations: 328.5 kB / 0.8493 GB, free: 9.625 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.63, allocations: 131.8 kB / 0.8495 GB, free: 9.496 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.6305, allocations: 149.6 kB / 0.8496 GB, free: 9.344 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008834/0.6314, allocations: 354 kB / 0.8499 GB, free: 8.977 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6314, allocations: 0 / 0.8499 GB, free: 8.977 MB / 0.5574 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001087/0.6325, allocations: 450.7 kB / 0.8504 GB, free: 8.52 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.6325, allocations: 63.39 kB / 0.8504 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.6326, allocations: 4 kB / 0.8504 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.6326, allocations: 4.031 kB / 0.8504 GB, free: 8.438 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.6329, allocations: 51.94 kB / 0.8505 GB, free: 8.387 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.6329, allocations: 0 / 0.8505 GB, free: 8.387 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.6331, allocations: 39.91 kB / 0.8505 GB, free: 8.348 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.6332, allocations: 15.98 kB / 0.8505 GB, free: 8.332 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,T_i.a,T_i.b,T_i.last,$PRE.T_i.nextEvent,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.6334, allocations: 172.1 kB / 0.8507 GB, free: 8.148 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.6334, allocations: 15.81 kB / 0.8507 GB, free: 8.133 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.6346, allocations: 493.7 kB / 0.8512 GB, free: 7.641 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.6346, allocations: 0 / 0.8512 GB, free: 7.641 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6347, allocations: 4 kB / 0.8512 GB, free: 7.637 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.6347, allocations: 1.031 kB / 0.8512 GB, free: 7.637 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.6349, allocations: 277.1 kB / 0.8515 GB, free: 7.316 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6349, allocations: 0 / 0.8515 GB, free: 7.316 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.6352, allocations: 59.89 kB / 0.8515 GB, free: 7.258 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6352, allocations: 0 / 0.8515 GB, free: 7.258 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.6353, allocations: 7.984 kB / 0.8515 GB, free: 7.25 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.6353, allocations: 3.938 kB / 0.8515 GB, free: 7.246 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.6353, allocations: 4 kB / 0.8515 GB, free: 7.242 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.6364, allocations: 486 kB / 0.852 GB, free: 6.746 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.6364, allocations: 96.84 kB / 0.8521 GB, free: 6.633 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.6365, allocations: 12 kB / 0.8521 GB, free: 6.621 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.6367, allocations: 37 kB / 0.8521 GB, free: 6.586 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.671e-05/0.6368, allocations: 23.95 kB / 0.8522 GB, free: 6.562 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.6369, allocations: 19.98 kB / 0.8522 GB, free: 6.543 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001148/0.637, allocations: 136.1 kB / 0.8523 GB, free: 6.41 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.61e-07/0.637, allocations: 0 / 0.8523 GB, free: 6.41 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003901/0.6374, allocations: 83.92 kB / 0.8524 GB, free: 6.328 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($cse5,$cse6,$whenCondition1,$whenCondition2,T_o.T_start,T_o.count,T_i.a,T_i.b,T_i.last,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 7 (T_o.count,T_i.nextEvent,T_i.last,T_i.nextEventScaled,T_i.b,T_i.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002949/0.6377, allocations: 156.2 kB / 0.8525 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.6387, allocations: 459.5 kB / 0.853 GB, free: 5.691 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.6387, allocations: 0 / 0.853 GB, free: 5.691 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.6393, allocations: 247.2 kB / 0.8532 GB, free: 5.438 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.6395, allocations: 25.12 kB / 0.8532 GB, free: 5.414 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.6404, allocations: 382.1 kB / 0.8536 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.6407, allocations: 0.7168 MB / 0.8543 GB, free: 4.273 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.6408, allocations: 25.08 kB / 0.8543 GB, free: 4.25 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.6409, allocations: 23.42 kB / 0.8544 GB, free: 4.227 MB / 0.5574 GB Notification: Performance of SimCode: time 2.4e-07/0.6409, allocations: 0 / 0.8544 GB, free: 4.227 MB / 0.5574 GB Notification: Performance of Templates: time 0.006102/0.647, allocations: 2.841 MB / 0.8571 GB, free: 1.441 MB / 0.5574 GB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1)