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.007104/0.007104, allocations: 1.433 MB / 17.68 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1117/0.1117, allocations: 22.37 MB / 41.1 MB, free: 7.539 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.001151/0.001151, allocations: 115.9 kB / 48.6 MB, free: 8 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.001317/0.001317, allocations: 196.2 kB / 56.2 MB, free: 9.414 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.33/1.33, allocations: 222.9 MB / 286.5 MB, free: 14.01 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8754/0.8754, allocations: 127.8 MB / 471.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.002201, allocations: 123.8 kB / 0.5547 GB, free: 16.36 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1515, allocations: 82.35 MB / 0.6351 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log): time 0.002965/0.1545, allocations: 2.15 MB / 0.6372 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1559, allocations: 0.8724 MB / 0.6381 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.156, allocations: 0 / 0.6381 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.1561, allocations: 39.81 kB / 0.6381 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.1562, allocations: 51.75 kB / 0.6382 GB, free: 10.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.1568, allocations: 203.4 kB / 0.6384 GB, free: 10.68 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.157, allocations: 167.6 kB / 0.6385 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.1571, allocations: 13.39 kB / 0.6385 GB, free: 10.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1572, allocations: 87.73 kB / 0.6386 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1574, allocations: 111.6 kB / 0.6387 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1574, allocations: 8 kB / 0.6387 GB, free: 10.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.1578, allocations: 263.6 kB / 0.639 GB, free: 10.04 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.428e-05/0.1578, allocations: 31.89 kB / 0.639 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.1579, allocations: 71.58 kB / 0.6391 GB, free: 9.938 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1582, allocations: 259.3 kB / 0.6393 GB, free: 9.684 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1583, allocations: 0 / 0.6393 GB, free: 9.684 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1583, allocations: 0 / 0.6393 GB, free: 9.684 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1583, allocations: 0 / 0.6393 GB, free: 9.684 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001106/0.1594, allocations: 0.5606 MB / 0.6399 GB, free: 9.062 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1594, allocations: 12.03 kB / 0.6399 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.1595, allocations: 16.75 kB / 0.6399 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1597, allocations: 230.7 kB / 0.6401 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1598, allocations: 384 / 0.6401 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.1598, allocations: 12.36 kB / 0.6401 GB, free: 8.758 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005717/0.1604, allocations: 189.8 kB / 0.6403 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1604, allocations: 0 / 0.6403 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1604, allocations: 8 kB / 0.6403 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1604, allocations: 0 / 0.6403 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008082/0.1612, allocations: 203.8 kB / 0.6405 GB, free: 8.359 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.162, allocations: 421.1 kB / 0.6409 GB, free: 7.895 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.1626, allocations: 186.4 kB / 0.6411 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.1631, allocations: 132.8 kB / 0.6412 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1631, allocations: 0 / 0.6412 GB, free: 7.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00059/0.1637, allocations: 228.9 kB / 0.6415 GB, free: 7.328 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1637, allocations: 0 / 0.6415 GB, free: 7.328 MB / 478.1 MB Notification: Performance of matching and sorting (n=18): time 0.001494/0.1652, allocations: 463.7 kB / 0.6419 GB, free: 6.867 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.1653, allocations: 81.11 kB / 0.642 GB, free: 6.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.1654, allocations: 183.3 kB / 0.6422 GB, free: 6.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.1655, allocations: 25.7 kB / 0.6422 GB, free: 6.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.1656, allocations: 112.4 kB / 0.6423 GB, free: 6.434 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.1656, allocations: 47.48 kB / 0.6423 GB, free: 6.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.1657, allocations: 49.69 kB / 0.6424 GB, free: 6.332 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1658, allocations: 334.8 kB / 0.6427 GB, free: 5.996 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.1663, allocations: 103.9 kB / 0.6428 GB, free: 5.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.1667, allocations: 136.7 kB / 0.6429 GB, free: 5.758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.1676, allocations: 307.3 kB / 0.6432 GB, free: 5.434 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1676, allocations: 0 / 0.6432 GB, free: 5.434 MB / 478.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001032/0.1686, allocations: 402.1 kB / 0.6436 GB, free: 5.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.632e-05/0.1687, allocations: 67.39 kB / 0.6437 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1687, allocations: 0 / 0.6437 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1687, allocations: 0 / 0.6437 GB, free: 4.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.169, allocations: 47.98 kB / 0.6437 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.169, allocations: 0 / 0.6437 GB, free: 4.898 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.1693, allocations: 35.8 kB / 0.6437 GB, free: 4.863 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.1693, allocations: 12 kB / 0.6438 GB, free: 4.852 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: 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.000151/0.1695, allocations: 176.9 kB / 0.6439 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.1695, allocations: 19.75 kB / 0.6439 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.1707, allocations: 439.4 kB / 0.6444 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1707, allocations: 4 kB / 0.6444 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1707, allocations: 4 kB / 0.6444 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1707, allocations: 0 / 0.6444 GB, free: 4.203 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.171, allocations: 273.3 kB / 0.6446 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.171, allocations: 0 / 0.6446 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.1712, allocations: 47.88 kB / 0.6447 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1713, allocations: 0 / 0.6447 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.1713, allocations: 8 kB / 0.6447 GB, free: 3.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1713, allocations: 4 kB / 0.6447 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1713, allocations: 4 kB / 0.6447 GB, free: 3.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1723, allocations: 434.3 kB / 0.6451 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.1724, allocations: 100.9 kB / 0.6452 GB, free: 3.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.1725, allocations: 12 kB / 0.6452 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.1727, allocations: 27.95 kB / 0.6452 GB, free: 3.219 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.1728, allocations: 23.97 kB / 0.6453 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.1728, allocations: 4 kB / 0.6453 GB, free: 3.191 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1729, allocations: 135.9 kB / 0.6454 GB, free: 3.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1729, allocations: 0 / 0.6454 GB, free: 3.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1733, allocations: 71.94 kB / 0.6455 GB, free: 2.988 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: 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.0002184/0.1735, allocations: 144.4 kB / 0.6456 GB, free: 2.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1745, allocations: 426.4 kB / 0.646 GB, free: 2.398 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1745, allocations: 4.062 kB / 0.646 GB, free: 2.395 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005044/0.175, allocations: 243.2 kB / 0.6462 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1753, allocations: 25.67 kB / 0.6463 GB, free: 2.121 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007768/0.1761, allocations: 353.4 kB / 0.6466 GB, free: 1.754 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1763, allocations: 0.7204 MB / 0.6473 GB, free: 1.008 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.241e-05/0.1764, allocations: 17.09 kB / 0.6473 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.1765, allocations: 31.41 kB / 0.6474 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1765, allocations: 0 / 0.6474 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of Templates: time 0.006113/0.1826, allocations: 3.22 MB / 0.6505 GB, free: 13.76 MB / 494.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 cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1)