Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.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.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") translateModel(ClaRa.Basics.Media.CreateInterpolatedMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.007609/0.007609, allocations: 1.427 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.1081/0.1081, allocations: 22.37 MB / 41.11 MB, free: 7.559 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.001169/0.001169, allocations: 119.9 kB / 48.61 MB, free: 28 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.001339/0.001339, allocations: 188.5 kB / 56.19 MB, free: 9.422 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.335/1.335, allocations: 222.9 MB / 286.5 MB, free: 14 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8487/0.8487, allocations: 127.8 MB / 471.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002259, allocations: 123.8 kB / 0.5547 GB, free: 16.32 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1441, allocations: 82.36 MB / 0.6351 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.004239/0.1484, allocations: 3.381 MB / 0.6384 GB, free: 10.56 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005787/0.1542, allocations: 5.016 MB / 0.6433 GB, free: 5.531 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1544, allocations: 7.938 kB / 0.6433 GB, free: 5.523 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.1553, allocations: 286.5 kB / 0.6436 GB, free: 5.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1556, allocations: 202.8 kB / 0.6438 GB, free: 5.043 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.1563, allocations: 406.6 kB / 0.6442 GB, free: 4.645 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004763/0.1568, allocations: 0.5263 MB / 0.6447 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.1569, allocations: 37.06 kB / 0.6447 GB, free: 4.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1571, allocations: 195.3 kB / 0.6449 GB, free: 3.887 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.1573, allocations: 199 kB / 0.6451 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.1574, allocations: 20 kB / 0.6451 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.1578, allocations: 303.4 kB / 0.6454 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.1579, allocations: 63.72 kB / 0.6455 GB, free: 3.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.1581, allocations: 175 kB / 0.6457 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006424/0.1587, allocations: 0.6036 MB / 0.6463 GB, free: 2.535 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1587, allocations: 0 / 0.6463 GB, free: 2.535 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1587, allocations: 0 / 0.6463 GB, free: 2.535 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1588, allocations: 0 / 0.6463 GB, free: 2.535 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0006796/0.1594, allocations: 0.6502 MB / 0.6469 GB, free: 1.832 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1595, allocations: 12.03 kB / 0.6469 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.1597, allocations: 52.34 kB / 0.6469 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.1601, allocations: 303.4 kB / 0.6472 GB, free: 1.434 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1602, allocations: 12.38 kB / 0.6472 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1602, allocations: 16.38 kB / 0.6473 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1607, allocations: 427.6 kB / 0.6477 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1607, allocations: 4.125 kB / 0.6477 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1607, allocations: 15.94 kB / 0.6477 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1607, allocations: 11.94 kB / 0.6477 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.161, allocations: 196 kB / 0.6479 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.1629, allocations: 3.044 MB / 0.6509 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1631, allocations: 174.4 kB / 0.651 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1632, allocations: 111.5 kB / 0.6511 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.543e-05/0.1633, allocations: 7.984 kB / 0.6511 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1633, allocations: 38.56 kB / 0.6512 GB, free: 13.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=62): time 1.734e-06/0.1633, allocations: 0 / 0.6512 GB, free: 13.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=62): time 0.0006093/0.1639, allocations: 352.3 kB / 0.6515 GB, free: 12.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.164, allocations: 136.6 kB / 0.6516 GB, free: 12.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.1643, allocations: 307.2 kB / 0.6519 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1643, allocations: 25.7 kB / 0.652 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1645, allocations: 204 kB / 0.6522 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1647, allocations: 196.9 kB / 0.6523 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.1648, allocations: 101.6 kB / 0.6524 GB, free: 11.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1649, allocations: 350.7 kB / 0.6528 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1651, allocations: 92.95 kB / 0.6529 GB, free: 11.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.1654, allocations: 358 kB / 0.6532 GB, free: 10.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.1659, allocations: 0.5112 MB / 0.6537 GB, free: 10.17 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.166, allocations: 4 kB / 0.6537 GB, free: 10.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006777/0.1666, allocations: 485.3 kB / 0.6542 GB, free: 9.688 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1667, allocations: 15.92 kB / 0.6542 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.1667, allocations: 27.98 kB / 0.6542 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1667, allocations: 15.94 kB / 0.6542 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1669, allocations: 67.91 kB / 0.6543 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.1669, allocations: 19.92 kB / 0.6543 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1672, allocations: 67.72 kB / 0.6544 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.1672, allocations: 28 kB / 0.6544 GB, free: 9.449 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0001527/0.1674, allocations: 173.6 kB / 0.6546 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1675, allocations: 39.47 kB / 0.6546 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.1676, allocations: 46.27 kB / 0.6547 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1676, allocations: 8 kB / 0.6547 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1676, allocations: 4 kB / 0.6547 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1677, allocations: 0 / 0.6547 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.1682, allocations: 361.1 kB / 0.655 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/0.1682, allocations: 15.98 kB / 0.655 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.1683, allocations: 15.98 kB / 0.655 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1683, allocations: 3.938 kB / 0.655 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1683, allocations: 8 kB / 0.655 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1683, allocations: 0 / 0.655 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1683, allocations: 11.86 kB / 0.6551 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000527/0.1689, allocations: 0.5888 MB / 0.6556 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.169, allocations: 148.5 kB / 0.6558 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.1691, allocations: 7.922 kB / 0.6558 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.1693, allocations: 8 kB / 0.6558 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.1693, allocations: 11.98 kB / 0.6558 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1693, allocations: 12 kB / 0.6558 GB, free: 7.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002133/0.1696, allocations: 209.9 kB / 0.656 GB, free: 7.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1696, allocations: 0 / 0.656 GB, free: 7.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006844/0.1703, allocations: 139.8 kB / 0.6561 GB, free: 7.562 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * 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.0007209/0.171, allocations: 376.5 kB / 0.6565 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006006/0.1716, allocations: 0.5208 MB / 0.657 GB, free: 6.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1716, allocations: 0 / 0.657 GB, free: 6.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.1719, allocations: 361.4 kB / 0.6574 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.1726, allocations: 73 kB / 0.6574 GB, free: 6.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/0.1735, allocations: 0.6283 MB / 0.658 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.1739, allocations: 0.7887 MB / 0.6588 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.174, allocations: 85.34 kB / 0.6589 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1741, allocations: 47.34 kB / 0.6589 GB, free: 4.625 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1741, allocations: 0 / 0.6589 GB, free: 4.625 MB / 494.1 MB Notification: Performance of Templates: time 0.009252/0.1834, allocations: 5.189 MB / 0.664 GB, free: 15.53 MB / 0.4982 GB make -j1 -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.makefile (rm -f ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.sim & ./ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)