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.01113/0.01113, allocations: 1.427 MB / 17.06 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1002/0.1002, allocations: 22.38 MB / 40.49 MB, free: 0.5391 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.001056/0.001056, allocations: 115 kB / 47.98 MB, free: 2.121 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.001221/0.001221, allocations: 196.2 kB / 55.58 MB, free: 6.152 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.25/1.25, allocations: 222.9 MB / 285.9 MB, free: 1.195 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.7994/0.7994, allocations: 127.8 MB / 470.6 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 120.4 kB / 0.6352 GB, free: 11.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1532, allocations: 82.35 MB / 0.7157 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.004267/0.1575, allocations: 3.382 MB / 0.719 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006072/0.1636, allocations: 5.017 MB / 0.7239 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.1638, allocations: 7.938 kB / 0.7239 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.1647, allocations: 286.6 kB / 0.7241 GB, free: 104 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.1651, allocations: 198.8 kB / 0.7243 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006309/0.1657, allocations: 410.7 kB / 0.7247 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005217/0.1662, allocations: 0.5262 MB / 0.7252 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.1663, allocations: 41.02 kB / 0.7253 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.1665, allocations: 199.2 kB / 0.7255 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.1668, allocations: 199 kB / 0.7257 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.1668, allocations: 24 kB / 0.7257 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.1673, allocations: 291.5 kB / 0.726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.56e-05/0.1674, allocations: 75.69 kB / 0.726 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.1676, allocations: 175 kB / 0.7262 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007385/0.1684, allocations: 0.6031 MB / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1684, allocations: 0 / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1684, allocations: 0 / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1684, allocations: 4 kB / 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.0007373/0.1691, allocations: 0.661 MB / 0.7274 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1692, allocations: 8.031 kB / 0.7274 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.1694, allocations: 60.56 kB / 0.7275 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.1699, allocations: 299.7 kB / 0.7278 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1699, allocations: 16.38 kB / 0.7278 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.17, allocations: 16.38 kB / 0.7278 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.1704, allocations: 423.4 kB / 0.7282 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1705, allocations: 4.125 kB / 0.7282 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.1705, allocations: 15.94 kB / 0.7282 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1705, allocations: 8 kB / 0.7283 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.1708, allocations: 188 kB / 0.7284 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001934/0.1727, allocations: 3.052 MB / 0.7314 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.173, allocations: 166.7 kB / 0.7316 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1731, allocations: 120.3 kB / 0.7317 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.068e-05/0.1732, allocations: 11.98 kB / 0.7317 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1732, allocations: 42.48 kB / 0.7317 GB, free: 7.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 1.593e-06/0.1732, allocations: 0 / 0.7317 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.0006267/0.1739, allocations: 354.8 kB / 0.7321 GB, free: 7.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.438e-05/0.174, allocations: 140.5 kB / 0.7322 GB, free: 7.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.1743, allocations: 303.2 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1743, allocations: 33.7 kB / 0.7325 GB, free: 7.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1745, allocations: 196.6 kB / 0.7327 GB, free: 6.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.1746, allocations: 218.1 kB / 0.7329 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1747, allocations: 93.62 kB / 0.733 GB, free: 6.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1749, allocations: 350.8 kB / 0.7334 GB, free: 6.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.175, allocations: 84.97 kB / 0.7334 GB, free: 6.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.1754, allocations: 365.7 kB / 0.7338 GB, free: 5.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.1759, allocations: 0.5189 MB / 0.7343 GB, free: 4.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1759, allocations: 4 kB / 0.7343 GB, free: 4.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.000664/0.1766, allocations: 485.6 kB / 0.7348 GB, free: 4.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1766, allocations: 14.12 kB / 0.7348 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-05/0.1767, allocations: 35.97 kB / 0.7348 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1767, allocations: 12 kB / 0.7348 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.1769, allocations: 71.84 kB / 0.7349 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1769, allocations: 19.92 kB / 0.7349 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.1772, allocations: 60.02 kB / 0.735 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.1772, allocations: 32 kB / 0.735 GB, free: 4.25 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.0001607/0.1774, allocations: 169.5 kB / 0.7352 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1775, allocations: 47.64 kB / 0.7352 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.1776, allocations: 47.16 kB / 0.7352 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1776, allocations: 11.98 kB / 0.7353 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1776, allocations: 0 / 0.7353 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1777, allocations: 4 kB / 0.7353 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.1782, allocations: 353 kB / 0.7356 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/0.1782, allocations: 27.97 kB / 0.7356 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.1783, allocations: 19.92 kB / 0.7356 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1783, allocations: 3.938 kB / 0.7356 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1783, allocations: 4 kB / 0.7356 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1783, allocations: 4 kB / 0.7357 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1783, allocations: 0 / 0.7357 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.1788, allocations: 0.5851 MB / 0.7362 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.179, allocations: 152.7 kB / 0.7364 GB, free: 2.734 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.179, allocations: 7.938 kB / 0.7364 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.1792, allocations: 0 / 0.7364 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.1792, allocations: 19.98 kB / 0.7364 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1793, allocations: 15.98 kB / 0.7364 GB, free: 2.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002056/0.1795, allocations: 205.9 kB / 0.7366 GB, free: 2.488 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1795, allocations: 0 / 0.7366 GB, free: 2.488 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006178/0.1801, allocations: 139.6 kB / 0.7367 GB, free: 2.352 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.0007049/0.1808, allocations: 370 kB / 0.7371 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005839/0.1814, allocations: 0.5208 MB / 0.7376 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1814, allocations: 0 / 0.7376 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.1817, allocations: 353.5 kB / 0.7379 GB, free: 1.086 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.1824, allocations: 76.97 kB / 0.738 GB, free: 1.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/0.1833, allocations: 0.6477 MB / 0.7386 GB, free: 332 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.1838, allocations: 0.7926 MB / 0.7394 GB, free: 15.51 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.1839, allocations: 86.09 kB / 0.7395 GB, free: 15.43 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.184, allocations: 39.41 kB / 0.7395 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of SimCode: time 3.81e-07/0.184, allocations: 0 / 0.7395 GB, free: 15.39 MB / 0.5607 GB Notification: Performance of Templates: time 0.009504/0.1935, allocations: 5.287 MB / 0.7447 GB, free: 10.2 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)