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/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_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/SMArtIInt 0.2.2-main/package.mo): time 0.009676/0.009676, allocations: 1.44 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.1453/0.1453, allocations: 22.37 MB / 41.11 MB, free: 0.582 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001118, allocations: 113.1 kB / 48.61 MB, free: 2.164 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 190.7 kB / 56.21 MB, free: 6.195 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.352/1.352, allocations: 222.9 MB / 286.6 MB, free: 1.234 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8484/0.8484, allocations: 127.8 MB / 471.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 124.9 kB / 0.5547 GB, free: 42.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1407, allocations: 82.35 MB / 0.6352 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log): time 0.003157/0.1439, allocations: 2.141 MB / 0.6372 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1453, allocations: 0.8684 MB / 0.6381 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.1453, allocations: 4 kB / 0.6381 GB, free: 8.949 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1454, allocations: 35.88 kB / 0.6381 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.1456, allocations: 55.69 kB / 0.6382 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.1462, allocations: 200.8 kB / 0.6384 GB, free: 8.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1463, allocations: 175.6 kB / 0.6385 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.1464, allocations: 9.391 kB / 0.6386 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1465, allocations: 83.73 kB / 0.6386 GB, free: 8.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1467, allocations: 115.6 kB / 0.6387 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.1467, allocations: 8 kB / 0.6388 GB, free: 8.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.1471, allocations: 275.5 kB / 0.639 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.1472, allocations: 27.91 kB / 0.639 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.1472, allocations: 67.64 kB / 0.6391 GB, free: 7.918 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.1475, allocations: 255.3 kB / 0.6393 GB, free: 7.668 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1475, allocations: 0 / 0.6393 GB, free: 7.668 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1476, allocations: 0 / 0.6393 GB, free: 7.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1476, allocations: 0 / 0.6393 GB, free: 7.668 MB / 462.1 MB 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.001101/0.1487, allocations: 0.5645 MB / 0.6399 GB, free: 7.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1487, allocations: 8.031 kB / 0.6399 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.1488, allocations: 12.84 kB / 0.6399 GB, free: 7.023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.149, allocations: 220.6 kB / 0.6401 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.149, allocations: 4.375 kB / 0.6401 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1491, allocations: 8.375 kB / 0.6401 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.1496, allocations: 205.8 kB / 0.6403 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1497, allocations: 0 / 0.6403 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.1497, allocations: 4 kB / 0.6403 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1497, allocations: 0 / 0.6403 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008173/0.1505, allocations: 207.8 kB / 0.6405 GB, free: 6.34 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.1512, allocations: 417.2 kB / 0.6409 GB, free: 5.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.1519, allocations: 198.3 kB / 0.6411 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/0.1523, allocations: 128.8 kB / 0.6413 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1524, allocations: 3.984 kB / 0.6413 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000562/0.1529, allocations: 224.9 kB / 0.6415 GB, free: 5.309 MB / 462.1 MB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.1529, allocations: 0 / 0.6415 GB, free: 5.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=18): time 0.001469/0.1544, allocations: 460.2 kB / 0.6419 GB, free: 4.848 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1545, allocations: 81.11 kB / 0.642 GB, free: 4.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1546, allocations: 180.6 kB / 0.6422 GB, free: 4.566 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1547, allocations: 33.64 kB / 0.6422 GB, free: 4.527 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.44e-05/0.1547, allocations: 116.5 kB / 0.6423 GB, free: 4.406 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1548, allocations: 43.3 kB / 0.6423 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/0.1549, allocations: 49.69 kB / 0.6424 GB, free: 4.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.923e-05/0.155, allocations: 330.8 kB / 0.6427 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.1554, allocations: 103.9 kB / 0.6428 GB, free: 3.875 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.1558, allocations: 140.6 kB / 0.6429 GB, free: 3.734 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/0.1567, allocations: 302.7 kB / 0.6432 GB, free: 3.414 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1567, allocations: 0 / 0.6432 GB, free: 3.414 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001007/0.1577, allocations: 397.7 kB / 0.6436 GB, free: 3.008 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.1578, allocations: 71.39 kB / 0.6437 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1578, allocations: 3.984 kB / 0.6437 GB, free: 2.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1578, allocations: 3.938 kB / 0.6437 GB, free: 2.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1581, allocations: 43.89 kB / 0.6437 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1581, allocations: 0 / 0.6437 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.1584, allocations: 39.8 kB / 0.6438 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.1584, allocations: 8 kB / 0.6438 GB, free: 2.828 MB / 462.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: 12 (T_i.nextEventScaled,T_i.nextEvent,$PRE.T_i.nextEvent,T_i.last,T_i.b,T_i.a,T_o.count,$PRE.T_o.count,T_o.T_start,$PRE.T_o.T_start,$whenCondition2,$whenCondition1) * 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.0001431/0.1586, allocations: 181.2 kB / 0.6439 GB, free: 2.637 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1586, allocations: 15.81 kB / 0.644 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1597, allocations: 436.8 kB / 0.6444 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1597, allocations: 0 / 0.6444 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1598, allocations: 4 kB / 0.6444 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1598, allocations: 0 / 0.6444 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.16, allocations: 273.3 kB / 0.6446 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.16, allocations: 0 / 0.6446 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.1603, allocations: 47.94 kB / 0.6447 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1603, allocations: 0 / 0.6447 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.1603, allocations: 12 kB / 0.6447 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1603, allocations: 7.938 kB / 0.6447 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1603, allocations: 0 / 0.6447 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.1614, allocations: 443.9 kB / 0.6451 GB, free: 1.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-05/0.1614, allocations: 96.86 kB / 0.6452 GB, free: 1.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.1615, allocations: 8 kB / 0.6452 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.1617, allocations: 23.95 kB / 0.6452 GB, free: 1.199 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.1618, allocations: 27.97 kB / 0.6453 GB, free: 1.172 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.1619, allocations: 11.98 kB / 0.6453 GB, free: 1.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.301e-05/0.162, allocations: 132 kB / 0.6454 GB, free: 1.031 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.162, allocations: 0 / 0.6454 GB, free: 1.031 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1623, allocations: 67.94 kB / 0.6455 GB, free: 0.9648 MB / 462.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: 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 (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.0002094/0.1625, allocations: 149.7 kB / 0.6456 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009711/0.1635, allocations: 424.8 kB / 0.646 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1635, allocations: 0 / 0.646 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.164, allocations: 235.2 kB / 0.6462 GB, free: 136 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1642, allocations: 37.27 kB / 0.6463 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.165, allocations: 343 kB / 0.6466 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1652, allocations: 0.7241 MB / 0.6473 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.1654, allocations: 29.06 kB / 0.6473 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.1654, allocations: 27.42 kB / 0.6474 GB, free: 14.93 MB / 478.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1654, allocations: 3.938 kB / 0.6474 GB, free: 14.93 MB / 478.1 MB Notification: Performance of Templates: time 0.005961/0.1714, allocations: 3.21 MB / 0.6505 GB, free: 11.77 MB / 478.1 MB 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 -s gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1)