Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo", uses=false) 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/ClaRa 1.8.2-main/package.mo", uses=false) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/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) Using package TILMedia with version 1.8.1 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith") translateModel(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.008172/0.008172, allocations: 1.441 MB / 17.7 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1074/0.1074, allocations: 22.37 MB / 41.11 MB, free: 7.566 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 112 kB / 48.62 MB, free: 36 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.8 kB / 56.21 MB, free: 9.43 MB / 46.55 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 286.6 MB, free: 13.99 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8578/0.8578, allocations: 127.8 MB / 471.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 120.4 kB / 0.5547 GB, free: 16.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1668, allocations: 82.36 MB / 0.6352 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith): time 0.003235/0.1701, allocations: 2.219 MB / 0.6373 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1712, allocations: 0.67 MB / 0.638 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.642e-05/0.1713, allocations: 0 / 0.638 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.1713, allocations: 11.86 kB / 0.638 GB, free: 11.06 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1715, allocations: 35.72 kB / 0.638 GB, free: 11.03 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.1718, allocations: 111.6 kB / 0.6381 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1721, allocations: 163.5 kB / 0.6383 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.1721, allocations: 13.12 kB / 0.6383 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1722, allocations: 67.75 kB / 0.6384 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1724, allocations: 79.7 kB / 0.6384 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.1724, allocations: 12 kB / 0.6385 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.1727, allocations: 175.7 kB / 0.6386 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.1727, allocations: 31.89 kB / 0.6387 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.1728, allocations: 63.64 kB / 0.6387 GB, free: 10.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1731, allocations: 183.5 kB / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1731, allocations: 0 / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1731, allocations: 0 / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1731, allocations: 4 kB / 0.6389 GB, free: 10.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001018/0.1741, allocations: 0.5412 MB / 0.6394 GB, free: 9.539 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1742, allocations: 8.031 kB / 0.6394 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1742, allocations: 20.69 kB / 0.6394 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1744, allocations: 185.7 kB / 0.6396 GB, free: 9.293 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1744, allocations: 12.38 kB / 0.6396 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.1744, allocations: 8.375 kB / 0.6396 GB, free: 9.273 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/0.1749, allocations: 157.8 kB / 0.6398 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.175, allocations: 0 / 0.6398 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.175, allocations: 11.98 kB / 0.6398 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.175, allocations: 0 / 0.6398 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.1758, allocations: 203.7 kB / 0.64 GB, free: 8.902 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1762, allocations: 356.6 kB / 0.6403 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007593/0.177, allocations: 222.3 kB / 0.6406 GB, free: 8.277 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.1774, allocations: 120.7 kB / 0.6407 GB, free: 8.156 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.1774, allocations: 4 kB / 0.6407 GB, free: 8.152 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.178, allocations: 189.8 kB / 0.6409 GB, free: 7.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=13): time 1.754e-06/0.178, allocations: 0 / 0.6409 GB, free: 7.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=13): time 0.001298/0.1793, allocations: 377.5 kB / 0.6412 GB, free: 7.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1793, allocations: 55.41 kB / 0.6413 GB, free: 7.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1795, allocations: 165.4 kB / 0.6414 GB, free: 7.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.1795, allocations: 37.64 kB / 0.6415 GB, free: 7.297 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.1796, allocations: 104 kB / 0.6416 GB, free: 7.191 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.1796, allocations: 43.53 kB / 0.6416 GB, free: 7.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.1797, allocations: 33.7 kB / 0.6416 GB, free: 7.109 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.1798, allocations: 322.8 kB / 0.6419 GB, free: 6.785 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.1802, allocations: 119.9 kB / 0.6421 GB, free: 6.668 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.1806, allocations: 133.5 kB / 0.6422 GB, free: 6.531 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.1814, allocations: 276.8 kB / 0.6424 GB, free: 6.242 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1814, allocations: 0 / 0.6424 GB, free: 6.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009271/0.1824, allocations: 362 kB / 0.6428 GB, free: 5.871 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.1824, allocations: 59.39 kB / 0.6428 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1824, allocations: 0 / 0.6428 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1825, allocations: 4 kB / 0.6429 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1827, allocations: 47.94 kB / 0.6429 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1827, allocations: 0 / 0.6429 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.183, allocations: 47.88 kB / 0.6429 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.183, allocations: 8 kB / 0.643 GB, free: 5.695 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (T_i.count,$PRE.T_i.count,T_i.T_start,$PRE.T_i.T_start,T_o.count,$PRE.T_o.count,T_o.T_start,$PRE.T_o.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1832, allocations: 131.6 kB / 0.6431 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1832, allocations: 11.91 kB / 0.6431 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.1841, allocations: 294.9 kB / 0.6434 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1841, allocations: 0 / 0.6434 GB, free: 5.258 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1841, allocations: 4 kB / 0.6434 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1841, allocations: 0 / 0.6434 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1843, allocations: 229.3 kB / 0.6436 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1843, allocations: 0 / 0.6436 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.1846, allocations: 55.88 kB / 0.6436 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1846, allocations: 4 kB / 0.6436 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1846, allocations: 0 / 0.6436 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1846, allocations: 0 / 0.6436 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1846, allocations: 0 / 0.6436 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008596/0.1855, allocations: 315.6 kB / 0.6439 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1856, allocations: 92.91 kB / 0.644 GB, free: 4.488 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.1856, allocations: 4 kB / 0.644 GB, free: 4.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.1858, allocations: 39.94 kB / 0.6441 GB, free: 4.445 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.186, allocations: 27.97 kB / 0.6441 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.186, allocations: 11.94 kB / 0.6441 GB, free: 4.406 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.713e-05/0.1861, allocations: 124.9 kB / 0.6442 GB, free: 4.285 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1861, allocations: 4 kB / 0.6442 GB, free: 4.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1863, allocations: 39.98 kB / 0.6443 GB, free: 4.242 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,T_o.T_start,T_o.count,T_i.T_start,T_i.count) * Number of discrete states: 2 (T_o.count,T_i.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.1865, allocations: 111.1 kB / 0.6444 GB, free: 4.125 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009575/0.1875, allocations: 370.5 kB / 0.6447 GB, free: 3.738 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1875, allocations: 0 / 0.6447 GB, free: 3.738 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.188, allocations: 131.9 kB / 0.6449 GB, free: 3.609 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1882, allocations: 19.92 kB / 0.6449 GB, free: 3.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006106/0.1888, allocations: 258.8 kB / 0.6451 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1891, allocations: 0.7045 MB / 0.6458 GB, free: 2.582 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.612e-05/0.1892, allocations: 13.08 kB / 0.6458 GB, free: 2.566 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.1892, allocations: 23.44 kB / 0.6459 GB, free: 2.547 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1892, allocations: 0 / 0.6459 GB, free: 2.547 MB / 478.1 MB Notification: Performance of Templates: time 0.005364/0.1946, allocations: 2.732 MB / 0.6485 GB, free: 15.84 MB / 494.1 MB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1)