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.01536/0.01536, allocations: 1.431 MB / 16.93 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1282/0.1282, allocations: 22.38 MB / 40.35 MB, free: 0.543 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.001326/0.001326, allocations: 104 kB / 47.83 MB, free: 2.211 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.001618/0.001618, allocations: 187.8 kB / 55.43 MB, free: 6.254 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.418/1.418, allocations: 222.9 MB / 285.8 MB, free: 1.254 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.8724/0.8724, allocations: 127.8 MB / 470.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 123.2 kB / 0.5533 GB, free: 42.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1758, allocations: 82.36 MB / 0.6337 GB, free: 12.78 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.005557/0.1814, allocations: 3.376 MB / 0.637 GB, free: 9.371 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008394/0.1898, allocations: 5.016 MB / 0.6419 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005541/0.1905, allocations: 4 kB / 0.6419 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001598/0.1921, allocations: 302.7 kB / 0.6422 GB, free: 4.039 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009215/0.193, allocations: 194.8 kB / 0.6424 GB, free: 3.848 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.1944, allocations: 402.6 kB / 0.6428 GB, free: 3.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.1955, allocations: 0.5185 MB / 0.6433 GB, free: 2.934 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.1956, allocations: 45.08 kB / 0.6433 GB, free: 2.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.1961, allocations: 199.3 kB / 0.6435 GB, free: 2.691 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.1966, allocations: 195 kB / 0.6437 GB, free: 2.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.1967, allocations: 20 kB / 0.6437 GB, free: 2.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009927/0.1977, allocations: 299.5 kB / 0.644 GB, free: 2.188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1979, allocations: 75.62 kB / 0.6441 GB, free: 2.113 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.1982, allocations: 171 kB / 0.6442 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1998, allocations: 0.5959 MB / 0.6448 GB, free: 1.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1998, allocations: 3.938 kB / 0.6448 GB, free: 1.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1998, allocations: 0 / 0.6448 GB, free: 1.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.1998, allocations: 4 kB / 0.6448 GB, free: 1.34 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.001245/0.2011, allocations: 0.6463 MB / 0.6455 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.2011, allocations: 12.03 kB / 0.6455 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.2016, allocations: 48.44 kB / 0.6455 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.2021, allocations: 295.5 kB / 0.6458 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.2022, allocations: 16.38 kB / 0.6458 GB, free: 244 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.2022, allocations: 20.31 kB / 0.6458 GB, free: 224 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.2028, allocations: 418.7 kB / 0.6462 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2029, allocations: 192 / 0.6462 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.2029, allocations: 15.94 kB / 0.6463 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.2029, allocations: 11.98 kB / 0.6463 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.2033, allocations: 192 kB / 0.6464 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002068/0.2053, allocations: 3.033 MB / 0.6494 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.2056, allocations: 166.4 kB / 0.6496 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.2057, allocations: 119.5 kB / 0.6497 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-05/0.2058, allocations: 11.97 kB / 0.6497 GB, free: 11.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2059, allocations: 42.5 kB / 0.6497 GB, free: 11.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=62): time 4.068e-06/0.2059, allocations: 3.984 kB / 0.6497 GB, free: 11.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=62): time 0.0007166/0.2066, allocations: 356.2 kB / 0.6501 GB, free: 11.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.04e-05/0.2067, allocations: 136.6 kB / 0.6502 GB, free: 11.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2071, allocations: 311.1 kB / 0.6505 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2071, allocations: 29.7 kB / 0.6505 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.2073, allocations: 192.1 kB / 0.6507 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.2074, allocations: 204.8 kB / 0.6509 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.2076, allocations: 105.6 kB / 0.651 GB, free: 10.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2077, allocations: 350.8 kB / 0.6513 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.2079, allocations: 84.97 kB / 0.6514 GB, free: 10.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/0.2082, allocations: 354 kB / 0.6518 GB, free: 9.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.2089, allocations: 0.5233 MB / 0.6523 GB, free: 8.988 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.2089, allocations: 4 kB / 0.6523 GB, free: 8.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008273/0.2097, allocations: 477.2 kB / 0.6527 GB, free: 8.512 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.2098, allocations: 11.94 kB / 0.6527 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.322e-05/0.2098, allocations: 35.97 kB / 0.6528 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.2098, allocations: 12 kB / 0.6528 GB, free: 8.453 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.21, allocations: 67.84 kB / 0.6529 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.2101, allocations: 15.94 kB / 0.6529 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.2103, allocations: 59.28 kB / 0.6529 GB, free: 8.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.2104, allocations: 31.98 kB / 0.653 GB, free: 8.281 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.0001863/0.2106, allocations: 169.8 kB / 0.6531 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.2107, allocations: 39.47 kB / 0.6532 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.2109, allocations: 57.66 kB / 0.6532 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.2109, allocations: 4 kB / 0.6532 GB, free: 8.004 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.2109, allocations: 4 kB / 0.6532 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.2109, allocations: 7.984 kB / 0.6532 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.2116, allocations: 357 kB / 0.6536 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/0.2116, allocations: 19.97 kB / 0.6536 GB, free: 7.574 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.09e-05/0.2117, allocations: 12 kB / 0.6536 GB, free: 7.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.2117, allocations: 3.938 kB / 0.6536 GB, free: 7.559 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.2117, allocations: 11.98 kB / 0.6536 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.2117, allocations: 3.984 kB / 0.6536 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2117, allocations: 0 / 0.6536 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.2123, allocations: 0.5887 MB / 0.6542 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.2125, allocations: 148.5 kB / 0.6543 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.2125, allocations: 7.938 kB / 0.6543 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2127, allocations: 8 kB / 0.6543 GB, free: 6.754 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.2128, allocations: 15.98 kB / 0.6544 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.2128, allocations: 8 kB / 0.6544 GB, free: 6.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.213, allocations: 209.9 kB / 0.6546 GB, free: 6.527 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.213, allocations: 0 / 0.6546 GB, free: 6.527 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007318/0.2138, allocations: 135.9 kB / 0.6547 GB, free: 6.395 MB / 478.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.0009277/0.2147, allocations: 374 kB / 0.6551 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006922/0.2154, allocations: 0.5234 MB / 0.6556 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.2154, allocations: 0 / 0.6556 GB, free: 5.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003275/0.2158, allocations: 357.4 kB / 0.6559 GB, free: 5.141 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000759/0.2165, allocations: 82.23 kB / 0.656 GB, free: 5.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.2177, allocations: 0.6474 MB / 0.6566 GB, free: 4.379 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2181, allocations: 0.7964 MB / 0.6574 GB, free: 3.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002589/0.2183, allocations: 78.11 kB / 0.6575 GB, free: 3.488 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.2184, allocations: 47.34 kB / 0.6575 GB, free: 3.441 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2184, allocations: 0 / 0.6575 GB, free: 3.441 MB / 478.1 MB Notification: Performance of Templates: time 0.01071/0.2292, allocations: 5.184 MB / 0.6626 GB, free: 14.36 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)