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.01177/0.01177, allocations: 1.429 MB / 17.06 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.177/0.177, allocations: 22.38 MB / 40.49 MB, free: 0.4961 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.001182/0.001182, allocations: 109.5 kB / 47.98 MB, free: 1.98 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.001673/0.001673, allocations: 191.9 kB / 55.58 MB, free: 6.016 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.531/1.531, allocations: 222.9 MB / 285.9 MB, free: 1.141 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9242/0.9242, allocations: 127.8 MB / 470.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003071/0.003071, allocations: 127.8 kB / 0.6353 GB, free: 11.24 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2731, allocations: 82.34 MB / 0.7157 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.005448/0.2786, allocations: 3.381 MB / 0.719 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008223/0.2869, allocations: 5.02 MB / 0.7239 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000408/0.2874, allocations: 4 kB / 0.7239 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.2888, allocations: 290.4 kB / 0.7242 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.2894, allocations: 202.8 kB / 0.7243 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.2906, allocations: 410.6 kB / 0.7247 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006928/0.2913, allocations: 0.5184 MB / 0.7252 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2914, allocations: 41.08 kB / 0.7253 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2916, allocations: 199.3 kB / 0.7255 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.292, allocations: 199 kB / 0.7257 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.292, allocations: 23.94 kB / 0.7257 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007103/0.2927, allocations: 291.5 kB / 0.726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.2929, allocations: 71.7 kB / 0.726 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.293, allocations: 171 kB / 0.7262 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000848/0.2939, allocations: 0.6075 MB / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.2939, allocations: 4 kB / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2939, allocations: 0 / 0.7268 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.294, 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.0009159/0.2949, allocations: 0.6503 MB / 0.7274 GB, free: 12.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.2949, allocations: 8.031 kB / 0.7274 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.2953, allocations: 56.34 kB / 0.7275 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.2959, allocations: 299.6 kB / 0.7278 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2959, allocations: 16.31 kB / 0.7278 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.296, allocations: 20.38 kB / 0.7278 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.2965, allocations: 419.4 kB / 0.7282 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2965, allocations: 4.188 kB / 0.7282 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.2966, allocations: 11.94 kB / 0.7282 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2966, allocations: 8 kB / 0.7282 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.2969, allocations: 195.9 kB / 0.7284 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.2991, allocations: 3.036 MB / 0.7314 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.2993, allocations: 170.7 kB / 0.7315 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.2995, allocations: 116.3 kB / 0.7317 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.295e-05/0.2996, allocations: 19.91 kB / 0.7317 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.2997, allocations: 38.56 kB / 0.7317 GB, free: 7.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/0.2997, allocations: 0 / 0.7317 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.0007312/0.3004, allocations: 354.6 kB / 0.7321 GB, free: 7.586 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3005, allocations: 128.5 kB / 0.7322 GB, free: 7.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/0.3009, allocations: 311.1 kB / 0.7325 GB, free: 7.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3009, allocations: 25.7 kB / 0.7325 GB, free: 7.086 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.3011, allocations: 204 kB / 0.7327 GB, free: 6.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.3013, allocations: 200.9 kB / 0.7329 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3014, allocations: 97.58 kB / 0.733 GB, free: 6.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3016, allocations: 350.9 kB / 0.7333 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.3017, allocations: 88.95 kB / 0.7334 GB, free: 6.145 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.3021, allocations: 365.7 kB / 0.7337 GB, free: 5.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.3027, allocations: 0.5189 MB / 0.7343 GB, free: 5.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.3027, allocations: 8 kB / 0.7343 GB, free: 5.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006818/0.3034, allocations: 469.3 kB / 0.7347 GB, free: 4.539 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.3035, allocations: 19.92 kB / 0.7347 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.953e-05/0.3035, allocations: 23.98 kB / 0.7347 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.3036, allocations: 12 kB / 0.7348 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.3038, allocations: 76.5 kB / 0.7348 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/0.3038, allocations: 19.92 kB / 0.7349 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.3041, allocations: 63.28 kB / 0.7349 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.905e-05/0.3041, allocations: 24 kB / 0.7349 GB, free: 4.305 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.0002048/0.3044, allocations: 177.6 kB / 0.7351 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3045, allocations: 47.31 kB / 0.7352 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.3046, allocations: 57.78 kB / 0.7352 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.3046, allocations: 4 kB / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.3047, allocations: 0 / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3047, allocations: 0 / 0.7352 GB, free: 4.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.3052, allocations: 364.9 kB / 0.7356 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.812e-05/0.3053, allocations: 19.98 kB / 0.7356 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.3053, allocations: 11.98 kB / 0.7356 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.3053, allocations: 7.938 kB / 0.7356 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3053, allocations: 8 kB / 0.7356 GB, free: 3.559 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3053, allocations: 4 kB / 0.7356 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3054, allocations: 0 / 0.7356 GB, free: 3.555 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000591/0.306, allocations: 0.5965 MB / 0.7362 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3061, allocations: 140.5 kB / 0.7363 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.3061, allocations: 11.92 kB / 0.7363 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3063, allocations: 4 kB / 0.7363 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.3064, allocations: 15.98 kB / 0.7364 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3064, allocations: 8 kB / 0.7364 GB, free: 2.742 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002249/0.3066, allocations: 213.9 kB / 0.7366 GB, free: 2.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3066, allocations: 0 / 0.7366 GB, free: 2.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006966/0.3073, allocations: 131.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.0009444/0.3083, allocations: 392 kB / 0.7371 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.3091, allocations: 0.5165 MB / 0.7376 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3091, allocations: 0 / 0.7376 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.3094, allocations: 354 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.0007276/0.3101, allocations: 74.59 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.001212/0.3114, 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.0004377/0.3118, allocations: 0.7926 MB / 0.7394 GB, free: 15.56 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.3121, allocations: 78.48 kB / 0.7394 GB, free: 15.49 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.156e-05/0.3121, allocations: 47.34 kB / 0.7395 GB, free: 15.45 MB / 0.5607 GB Notification: Performance of SimCode: time 4.41e-07/0.3122, allocations: 4 kB / 0.7395 GB, free: 15.44 MB / 0.5607 GB Notification: Performance of Templates: time 0.01121/0.3234, allocations: 5.277 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=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)