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.01655/0.01655, allocations: 1.436 MB / 17.07 MB, free: 4.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1218/0.1218, allocations: 22.37 MB / 40.49 MB, free: 0.5 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.00105/0.00105, allocations: 106.4 kB / 47.98 MB, free: 2.133 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.001409/0.001408, allocations: 191.6 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.739/1.739, allocations: 222.9 MB / 285.9 MB, free: 1.191 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 1.012/1.012, allocations: 127.8 MB / 470.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 119.8 kB / 0.6353 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2214, allocations: 82.34 MB / 0.7157 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.005461/0.2269, allocations: 3.383 MB / 0.719 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008599/0.2356, allocations: 5.013 MB / 0.7239 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000465/0.2361, allocations: 7.938 kB / 0.7239 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.2375, allocations: 298.5 kB / 0.7242 GB, free: 92 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008001/0.2383, allocations: 206.9 kB / 0.7244 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2395, allocations: 398.7 kB / 0.7247 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.2404, allocations: 0.53 MB / 0.7253 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2406, allocations: 41.08 kB / 0.7253 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.241, allocations: 195.2 kB / 0.7255 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004742/0.2415, allocations: 199 kB / 0.7257 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.2416, allocations: 24 kB / 0.7257 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.2423, allocations: 299.4 kB / 0.726 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.2425, allocations: 71.7 kB / 0.726 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.2427, allocations: 171 kB / 0.7262 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.244, allocations: 0.6037 MB / 0.7268 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.244, allocations: 4 kB / 0.7268 GB, free: 13.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.244, allocations: 0 / 0.7268 GB, free: 13.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.244, allocations: 0 / 0.7268 GB, free: 13.37 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.001255/0.2453, allocations: 0.6463 MB / 0.7274 GB, free: 12.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.2453, allocations: 12.03 kB / 0.7274 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003713/0.2457, allocations: 52.34 kB / 0.7275 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006844/0.2464, allocations: 303.6 kB / 0.7278 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.2464, allocations: 12.38 kB / 0.7278 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.2465, allocations: 20.38 kB / 0.7278 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.2471, allocations: 415.4 kB / 0.7282 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2472, allocations: 4.125 kB / 0.7282 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.2472, allocations: 23.92 kB / 0.7282 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.2472, allocations: 8 kB / 0.7282 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.2475, allocations: 188 kB / 0.7284 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.2497, allocations: 3.036 MB / 0.7314 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.2499, allocations: 170.6 kB / 0.7316 GB, free: 8.121 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2501, allocations: 116.3 kB / 0.7317 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/0.2502, allocations: 16 kB / 0.7317 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.2502, allocations: 34.56 kB / 0.7317 GB, free: 7.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 1.954e-06/0.2502, allocations: 0 / 0.7317 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.0006445/0.2509, allocations: 358.6 kB / 0.7321 GB, free: 7.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.2509, allocations: 132.5 kB / 0.7322 GB, free: 7.422 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.2513, allocations: 303.2 kB / 0.7325 GB, free: 7.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2513, allocations: 29.77 kB / 0.7325 GB, free: 7.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.2515, allocations: 203.9 kB / 0.7327 GB, free: 6.879 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.2516, allocations: 204.9 kB / 0.7329 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2517, allocations: 97.58 kB / 0.733 GB, free: 6.574 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.2519, allocations: 346.8 kB / 0.7333 GB, free: 6.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.252, allocations: 85.47 kB / 0.7334 GB, free: 6.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.2523, allocations: 365.7 kB / 0.7337 GB, free: 5.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.2529, allocations: 0.519 MB / 0.7342 GB, free: 5.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.2529, allocations: 7.938 kB / 0.7343 GB, free: 5.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006605/0.2536, allocations: 481.4 kB / 0.7347 GB, free: 4.527 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2536, allocations: 11.94 kB / 0.7347 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.7e-05/0.2537, allocations: 31.97 kB / 0.7348 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.2537, allocations: 12 kB / 0.7348 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.2539, allocations: 71.84 kB / 0.7348 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.2539, allocations: 15.94 kB / 0.7349 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.2542, allocations: 59.28 kB / 0.7349 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.2542, allocations: 31.98 kB / 0.7349 GB, free: 4.297 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.0001817/0.2544, allocations: 165.6 kB / 0.7351 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.2545, allocations: 51.34 kB / 0.7351 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.2547, allocations: 47.16 kB / 0.7352 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2547, allocations: 7.984 kB / 0.7352 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.2547, allocations: 7.984 kB / 0.7352 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2547, allocations: 0 / 0.7352 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.2553, allocations: 356.9 kB / 0.7355 GB, free: 3.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-05/0.2553, allocations: 23.97 kB / 0.7356 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.2553, allocations: 12 kB / 0.7356 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2553, allocations: 7.875 kB / 0.7356 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2554, allocations: 15.98 kB / 0.7356 GB, free: 3.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.2554, allocations: 7.938 kB / 0.7356 GB, free: 3.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2554, allocations: 3.984 kB / 0.7356 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.2559, allocations: 0.5888 MB / 0.7362 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.2561, allocations: 148.5 kB / 0.7363 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.2561, allocations: 7.938 kB / 0.7363 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.2563, allocations: 4 kB / 0.7363 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.2564, allocations: 15.92 kB / 0.7364 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.2564, allocations: 15.98 kB / 0.7364 GB, free: 2.723 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001983/0.2566, allocations: 202 kB / 0.7366 GB, free: 2.523 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2566, allocations: 0 / 0.7366 GB, free: 2.523 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006273/0.2572, allocations: 135.9 kB / 0.7367 GB, free: 2.391 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.0008369/0.2581, allocations: 376.2 kB / 0.7371 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006133/0.2587, allocations: 0.524 MB / 0.7376 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2587, allocations: 0 / 0.7376 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.259, allocations: 353.5 kB / 0.7379 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006677/0.2597, allocations: 73.61 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.00103/0.2607, allocations: 0.6328 MB / 0.7386 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2611, allocations: 0.7926 MB / 0.7394 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0001838/0.2613, allocations: 95.09 kB / 0.7395 GB, free: 15.48 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.2614, allocations: 39.41 kB / 0.7395 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of SimCode: time 2.11e-07/0.2614, allocations: 0 / 0.7395 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of Templates: time 0.00977/0.2712, allocations: 5.279 MB / 0.7447 GB, free: 10.25 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=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)