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.01436/0.01436, allocations: 1.431 MB / 16.66 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1051/0.1051, allocations: 22.38 MB / 40.07 MB, free: 0.8477 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.001083/0.001083, allocations: 95.06 kB / 47.54 MB, free: 2.504 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.001439/0.001439, allocations: 188.5 kB / 55.12 MB, free: 6.551 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.3/1.3, allocations: 222.9 MB / 285.5 MB, free: 1.035 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8239/0.8239, allocations: 127.8 MB / 470.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002176, allocations: 128.3 kB / 0.5527 GB, free: 43.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1412, allocations: 82.35 MB / 0.6332 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.004537/0.1458, allocations: 3.418 MB / 0.6365 GB, free: 9.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1524, allocations: 4.993 MB / 0.6414 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.1527, allocations: 15.88 kB / 0.6414 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.1538, allocations: 263.2 kB / 0.6416 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.1543, allocations: 191 kB / 0.6418 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.1552, allocations: 379 kB / 0.6422 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000623/0.1558, allocations: 0.5263 MB / 0.6427 GB, free: 3.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.1559, allocations: 37.08 kB / 0.6427 GB, free: 3.504 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1562, allocations: 191.3 kB / 0.6429 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003034/0.1565, allocations: 206.9 kB / 0.6431 GB, free: 3.113 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1566, allocations: 24 kB / 0.6431 GB, free: 3.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000508/0.1571, allocations: 299.4 kB / 0.6434 GB, free: 2.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.1572, allocations: 71.7 kB / 0.6435 GB, free: 2.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.1574, allocations: 167.1 kB / 0.6437 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.1581, allocations: 0.6036 MB / 0.6442 GB, free: 1.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1581, allocations: 0 / 0.6442 GB, free: 1.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1581, allocations: 0 / 0.6442 GB, free: 1.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1581, allocations: 3.938 kB / 0.6442 GB, free: 1.953 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0006777/0.1588, allocations: 0.6502 MB / 0.6449 GB, free: 1.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1589, allocations: 16.03 kB / 0.6449 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.1591, allocations: 52.44 kB / 0.6449 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1594, allocations: 295.5 kB / 0.6452 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1595, allocations: 12.38 kB / 0.6452 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1595, allocations: 20.38 kB / 0.6453 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.16, allocations: 414.7 kB / 0.6457 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.16, allocations: 4.125 kB / 0.6457 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.16, allocations: 11.94 kB / 0.6457 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.16, allocations: 12 kB / 0.6457 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002527/0.1603, allocations: 196 kB / 0.6459 GB, free: 104 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.162, allocations: 3.056 MB / 0.6489 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1622, allocations: 162.4 kB / 0.649 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.1624, allocations: 111.5 kB / 0.6491 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.1624, allocations: 19.84 kB / 0.6491 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1624, allocations: 38.56 kB / 0.6492 GB, free: 12.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=56): time 1.543e-06/0.1624, allocations: 0 / 0.6492 GB, free: 12.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=56): time 0.0005355/0.163, allocations: 318.5 kB / 0.6495 GB, free: 12.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1631, allocations: 132.5 kB / 0.6496 GB, free: 12.03 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.1634, allocations: 328.3 kB / 0.6499 GB, free: 11.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1634, allocations: 25.7 kB / 0.6499 GB, free: 11.66 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1636, allocations: 223.8 kB / 0.6501 GB, free: 11.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1637, allocations: 181.3 kB / 0.6503 GB, free: 11.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1638, allocations: 109.5 kB / 0.6504 GB, free: 11.15 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1639, allocations: 346.8 kB / 0.6508 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1641, allocations: 88.91 kB / 0.6508 GB, free: 10.71 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.1644, allocations: 354 kB / 0.6512 GB, free: 10.24 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.1648, allocations: 0.5112 MB / 0.6517 GB, free: 9.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.1649, allocations: 8.312 kB / 0.6517 GB, free: 9.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006328/0.1655, allocations: 489.2 kB / 0.6522 GB, free: 9.109 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.1655, allocations: 8 kB / 0.6522 GB, free: 9.102 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.241e-05/0.1656, allocations: 32.14 kB / 0.6522 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.1656, allocations: 12 kB / 0.6522 GB, free: 9.059 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.1658, allocations: 67.91 kB / 0.6523 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1658, allocations: 19.92 kB / 0.6523 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.166, allocations: 63.22 kB / 0.6523 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.1661, allocations: 31.94 kB / 0.6524 GB, free: 8.879 MB / 478.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.0001599/0.1662, allocations: 165.6 kB / 0.6525 GB, free: 8.707 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1663, allocations: 39.53 kB / 0.6526 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007757/0.1671, allocations: 0.7638 MB / 0.6533 GB, free: 7.715 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/0.1672, allocations: 180.2 kB / 0.6535 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.676e-05/0.1672, allocations: 184.3 kB / 0.6537 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-05/0.1673, allocations: 180.2 kB / 0.6538 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.1677, allocations: 0.5436 MB / 0.6544 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.1677, allocations: 104.9 kB / 0.6545 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.1677, allocations: 101 kB / 0.6546 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.251e-05/0.1678, allocations: 176.3 kB / 0.6547 GB, free: 6.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.1679, allocations: 184.2 kB / 0.6549 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.85e-05/0.1679, allocations: 176.3 kB / 0.6551 GB, free: 5.797 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-05/0.168, allocations: 196.1 kB / 0.6553 GB, free: 5.598 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.1681, allocations: 343.2 kB / 0.6556 GB, free: 5.238 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1683, allocations: 205.8 kB / 0.6558 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.1684, allocations: 200 kB / 0.656 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1685, allocations: 108.9 kB / 0.6561 GB, free: 4.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.1686, allocations: 180.3 kB / 0.6563 GB, free: 4.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.1686, allocations: 109 kB / 0.6564 GB, free: 4.398 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.169, allocations: 354.8 kB / 0.6567 GB, free: 4.051 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.169, allocations: 0 / 0.6567 GB, free: 4.051 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005432/0.1696, allocations: 131.9 kB / 0.6568 GB, free: 3.922 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0007554/0.1703, allocations: 455.5 kB / 0.6573 GB, free: 3.555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.1708, allocations: 455.7 kB / 0.6577 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1708, allocations: 0 / 0.6577 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1708, allocations: 4.125 kB / 0.6577 GB, free: 3.059 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006628/0.1715, allocations: 0.538 MB / 0.6582 GB, free: 2.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.1723, allocations: 0.6959 MB / 0.6589 GB, free: 1.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1726, allocations: 0.7756 MB / 0.6597 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001765/0.1728, allocations: 70.31 kB / 0.6597 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.1729, allocations: 35.36 kB / 0.6598 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1729, allocations: 0 / 0.6598 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of Templates: time 0.009144/0.182, allocations: 4.981 MB / 0.6646 GB, free: 12.01 MB / 494.1 MB 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=50 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)