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.01161/0.01161, allocations: 1.432 MB / 17.06 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1035/0.1035, allocations: 22.37 MB / 40.48 MB, free: 0.5117 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.001066/0.001066, allocations: 113.5 kB / 47.98 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.001261/0.001261, allocations: 196.2 kB / 55.58 MB, free: 6.168 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.324/1.324, allocations: 222.9 MB / 285.9 MB, free: 1.172 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8217/0.8217, allocations: 127.8 MB / 470.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002105, allocations: 123.8 kB / 0.6352 GB, free: 11.24 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.151, allocations: 82.35 MB / 0.7157 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.004509/0.1555, allocations: 3.38 MB / 0.719 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006843/0.1624, allocations: 5.017 MB / 0.7239 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.1627, allocations: 7.938 kB / 0.7239 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1638, allocations: 290.5 kB / 0.7241 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.1644, allocations: 206.8 kB / 0.7243 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.1652, allocations: 398.7 kB / 0.7247 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006876/0.1659, allocations: 0.5301 MB / 0.7252 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.911e-05/0.166, allocations: 41.08 kB / 0.7253 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.1664, allocations: 199.2 kB / 0.7255 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.1667, allocations: 203 kB / 0.7257 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.603e-05/0.1668, allocations: 20 kB / 0.7257 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005689/0.1674, allocations: 299.4 kB / 0.726 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1675, allocations: 71.7 kB / 0.726 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.1677, allocations: 171 kB / 0.7262 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009077/0.1686, allocations: 0.6076 MB / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1686, allocations: 0 / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1686, allocations: 0 / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.1687, allocations: 0 / 0.7268 GB, free: 13.38 MB / 0.545 GB 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.0008733/0.1695, allocations: 0.6464 MB / 0.7274 GB, free: 12.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1696, allocations: 8.031 kB / 0.7274 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.1699, allocations: 56.34 kB / 0.7275 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.1704, allocations: 307.5 kB / 0.7278 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.1704, allocations: 12.38 kB / 0.7278 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1704, allocations: 16.38 kB / 0.7278 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.1709, allocations: 419.4 kB / 0.7282 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.171, allocations: 8.125 kB / 0.7282 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.171, allocations: 19.94 kB / 0.7282 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.171, allocations: 8 kB / 0.7282 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.1713, allocations: 184 kB / 0.7284 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.1734, allocations: 3.04 MB / 0.7314 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.1737, allocations: 162.7 kB / 0.7315 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1738, allocations: 124.2 kB / 0.7317 GB, free: 8 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.1739, allocations: 16 kB / 0.7317 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1739, allocations: 34.55 kB / 0.7317 GB, free: 7.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.014e-06/0.174, allocations: 0 / 0.7317 GB, free: 7.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.0006406/0.1746, allocations: 358.6 kB / 0.732 GB, free: 7.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.1747, allocations: 128.5 kB / 0.7322 GB, free: 7.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.175, allocations: 303.2 kB / 0.7325 GB, free: 7.125 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.175, allocations: 33.77 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1751, allocations: 200 kB / 0.7327 GB, free: 6.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.1753, allocations: 200.9 kB / 0.7329 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.1754, allocations: 97.58 kB / 0.733 GB, free: 6.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1755, allocations: 346.8 kB / 0.7333 GB, free: 6.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1757, allocations: 88.91 kB / 0.7334 GB, free: 6.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002941/0.176, allocations: 361.7 kB / 0.7337 GB, free: 5.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.1765, allocations: 0.5273 MB / 0.7342 GB, free: 5.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1765, allocations: 0 / 0.7342 GB, free: 5.016 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006364/0.1772, allocations: 481.3 kB / 0.7347 GB, free: 4.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1772, allocations: 19.94 kB / 0.7347 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/0.1772, allocations: 27.97 kB / 0.7347 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.1773, allocations: 12 kB / 0.7348 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1774, allocations: 67.91 kB / 0.7348 GB, free: 4.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/0.1775, allocations: 19.92 kB / 0.7348 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.1777, allocations: 59.28 kB / 0.7349 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/0.1777, allocations: 35.92 kB / 0.7349 GB, free: 4.301 MB / 0.545 GB 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.0001398/0.1779, allocations: 169.6 kB / 0.7351 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.178, allocations: 43.38 kB / 0.7351 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.1781, allocations: 54.27 kB / 0.7352 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1781, allocations: 11.92 kB / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1781, allocations: 0 / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1781, allocations: 0 / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1786, allocations: 356.9 kB / 0.7355 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.1787, allocations: 23.97 kB / 0.7356 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.1787, allocations: 12 kB / 0.7356 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1787, allocations: 7.938 kB / 0.7356 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1787, allocations: 11.98 kB / 0.7356 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1787, allocations: 0 / 0.7356 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.1788, allocations: 7.938 kB / 0.7356 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.1793, allocations: 0.5849 MB / 0.7362 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.1794, allocations: 148.5 kB / 0.7363 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.1794, allocations: 19.88 kB / 0.7363 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1796, allocations: 0 / 0.7363 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1797, allocations: 11.98 kB / 0.7363 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.1797, allocations: 15.98 kB / 0.7364 GB, free: 2.734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000196/0.1799, allocations: 209.9 kB / 0.7366 GB, free: 2.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1799, allocations: 0 / 0.7366 GB, free: 2.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006012/0.1805, allocations: 127.9 kB / 0.7367 GB, free: 2.402 MB / 0.545 GB 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.0006787/0.1812, allocations: 384.9 kB / 0.737 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.1817, allocations: 0.5203 MB / 0.7376 GB, free: 1.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1818, allocations: 0 / 0.7376 GB, free: 1.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.182, allocations: 349.5 kB / 0.7379 GB, free: 1.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006566/0.1827, allocations: 81.41 kB / 0.738 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.1836, allocations: 0.6289 MB / 0.7386 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.1839, allocations: 0.8004 MB / 0.7394 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.1841, allocations: 78.23 kB / 0.7394 GB, free: 15.49 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.1842, allocations: 43.34 kB / 0.7395 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of SimCode: time 3.51e-07/0.1842, allocations: 0 / 0.7395 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of Templates: time 0.009053/0.1933, allocations: 5.279 MB / 0.7446 GB, free: 10.26 MB / 0.5607 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=50 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)