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.007283/0.007283, allocations: 1.427 MB / 17.68 MB, free: 4.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.108/0.108, allocations: 22.37 MB / 41.1 MB, free: 0.5352 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.001221/0.001222, allocations: 114.3 kB / 48.6 MB, free: 2.141 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.001297/0.001297, allocations: 188.3 kB / 56.19 MB, free: 6.18 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.339/1.339, allocations: 222.9 MB / 286.5 MB, free: 1.184 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8775/0.8775, allocations: 127.8 MB / 471.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002336, allocations: 130.6 kB / 0.5547 GB, free: 42.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1462, allocations: 82.35 MB / 0.6352 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith): time 0.003177/0.1494, allocations: 2.208 MB / 0.6373 GB, free: 9.727 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1505, allocations: 0.6661 MB / 0.638 GB, free: 9.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.953e-05/0.1505, allocations: 7.938 kB / 0.638 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.1506, allocations: 11.92 kB / 0.638 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.1507, allocations: 31.66 kB / 0.638 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1511, allocations: 103.7 kB / 0.6381 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1513, allocations: 171.5 kB / 0.6383 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.1513, allocations: 9.125 kB / 0.6383 GB, free: 8.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1514, allocations: 71.69 kB / 0.6383 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1516, allocations: 79.7 kB / 0.6384 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1516, allocations: 16 kB / 0.6384 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.1519, allocations: 167.7 kB / 0.6386 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.1519, allocations: 35.84 kB / 0.6386 GB, free: 8.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.152, allocations: 59.7 kB / 0.6387 GB, free: 8.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1522, allocations: 187.5 kB / 0.6389 GB, free: 8.121 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1523, allocations: 0 / 0.6389 GB, free: 8.121 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1523, allocations: 0 / 0.6389 GB, free: 8.121 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1523, allocations: 3.938 kB / 0.6389 GB, free: 8.117 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009975/0.1533, allocations: 0.5412 MB / 0.6394 GB, free: 7.516 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1533, allocations: 8.031 kB / 0.6394 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.1534, allocations: 16.75 kB / 0.6394 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.1535, allocations: 205.7 kB / 0.6396 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1536, allocations: 4.375 kB / 0.6396 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1536, allocations: 8.375 kB / 0.6396 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005207/0.1541, allocations: 161.5 kB / 0.6398 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1541, allocations: 0 / 0.6398 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1542, allocations: 15.97 kB / 0.6398 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1542, allocations: 0 / 0.6398 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007747/0.155, allocations: 199.8 kB / 0.64 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.1554, allocations: 344.7 kB / 0.6403 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007523/0.1562, allocations: 234.3 kB / 0.6405 GB, free: 6.246 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.1566, allocations: 116.7 kB / 0.6407 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1566, allocations: 11.94 kB / 0.6407 GB, free: 6.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005298/0.1572, allocations: 178.8 kB / 0.6408 GB, free: 5.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1572, allocations: 8 kB / 0.6408 GB, free: 5.926 MB / 462.1 MB Notification: Performance of matching and sorting (n=13): time 0.001297/0.1585, allocations: 381.1 kB / 0.6412 GB, free: 5.547 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1585, allocations: 51.41 kB / 0.6413 GB, free: 5.484 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1587, allocations: 164.5 kB / 0.6414 GB, free: 5.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.1587, allocations: 25.7 kB / 0.6414 GB, free: 5.277 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1588, allocations: 108 kB / 0.6415 GB, free: 5.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1588, allocations: 43.53 kB / 0.6416 GB, free: 5.125 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-05/0.1589, allocations: 37.7 kB / 0.6416 GB, free: 5.082 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.159, allocations: 326.8 kB / 0.6419 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.1594, allocations: 111.9 kB / 0.642 GB, free: 4.645 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.1598, allocations: 132.4 kB / 0.6422 GB, free: 4.512 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.1606, allocations: 276.8 kB / 0.6424 GB, free: 4.223 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1606, allocations: 0 / 0.6424 GB, free: 4.223 MB / 462.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009331/0.1616, allocations: 360.5 kB / 0.6428 GB, free: 3.852 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.1616, allocations: 59.39 kB / 0.6428 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1616, allocations: 4 kB / 0.6428 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1616, allocations: 3.938 kB / 0.6428 GB, free: 3.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.1619, allocations: 51.97 kB / 0.6429 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1619, allocations: 4 kB / 0.6429 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1622, allocations: 35.94 kB / 0.6429 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.1622, allocations: 12 kB / 0.6429 GB, free: 3.672 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: 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.0001002/0.1623, allocations: 125.7 kB / 0.6431 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1624, allocations: 19.75 kB / 0.6431 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/0.1633, allocations: 302.9 kB / 0.6434 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1633, allocations: 224 / 0.6434 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1633, allocations: 0 / 0.6434 GB, free: 3.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1633, allocations: 3.938 kB / 0.6434 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1635, allocations: 229.4 kB / 0.6436 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1635, allocations: 0 / 0.6436 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.1638, allocations: 51.94 kB / 0.6436 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1638, allocations: 4 kB / 0.6436 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1638, allocations: 0 / 0.6436 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1638, allocations: 0 / 0.6436 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1638, allocations: 3.938 kB / 0.6436 GB, free: 2.891 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.1646, allocations: 304.6 kB / 0.6439 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.1647, allocations: 92.91 kB / 0.644 GB, free: 2.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.1647, allocations: 4 kB / 0.644 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.165, allocations: 43.94 kB / 0.6441 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.1651, allocations: 31.97 kB / 0.6441 GB, free: 2.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1651, allocations: 4 kB / 0.6441 GB, free: 2.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.646e-05/0.1652, allocations: 132.8 kB / 0.6442 GB, free: 2.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1652, allocations: 0 / 0.6442 GB, free: 2.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1655, allocations: 35.98 kB / 0.6443 GB, free: 2.219 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: 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.0001471/0.1656, allocations: 107.2 kB / 0.6444 GB, free: 2.105 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.1665, allocations: 370 kB / 0.6447 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1666, allocations: 0 / 0.6447 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.167, allocations: 135.9 kB / 0.6448 GB, free: 1.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1673, allocations: 19.92 kB / 0.6449 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.1679, allocations: 250.9 kB / 0.6451 GB, free: 1.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1681, allocations: 0.7083 MB / 0.6458 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.1682, allocations: 17.08 kB / 0.6458 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1683, allocations: 15.44 kB / 0.6458 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1683, allocations: 0 / 0.6458 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of Templates: time 0.005327/0.1736, allocations: 2.742 MB / 0.6485 GB, free: 13.84 MB / 478.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 gbode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1)