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.00757/0.00757, allocations: 1.439 MB / 17.75 MB, free: 4.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1397/0.1397, allocations: 22.38 MB / 41.16 MB, free: 0.6055 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.001412/0.001412, allocations: 113.1 kB / 48.66 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.001603/0.001603, allocations: 187.8 kB / 56.25 MB, free: 6.156 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.608/1.608, allocations: 222.9 MB / 286.6 MB, free: 1.176 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9613/0.9613, allocations: 127.8 MB / 471.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 132.2 kB / 0.6359 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2227, allocations: 82.33 MB / 0.7163 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.007031/0.2299, allocations: 3.392 MB / 0.7196 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.2403, allocations: 5.018 MB / 0.7245 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.2408, allocations: 4 kB / 0.7245 GB, free: 400 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.2422, allocations: 278.6 kB / 0.7248 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007997/0.243, allocations: 214.9 kB / 0.725 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2441, allocations: 402.7 kB / 0.7254 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008953/0.245, allocations: 0.5261 MB / 0.7259 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2452, allocations: 45.02 kB / 0.7259 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003868/0.2456, allocations: 203.2 kB / 0.7261 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004173/0.246, allocations: 191 kB / 0.7263 GB, free: 14.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.2461, allocations: 24 kB / 0.7263 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.2468, allocations: 299.4 kB / 0.7266 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2469, allocations: 71.69 kB / 0.7267 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002149/0.2471, allocations: 175 kB / 0.7269 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.2483, allocations: 0.607 MB / 0.7275 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2483, allocations: 4 kB / 0.7275 GB, free: 13.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.073e-06/0.2483, allocations: 0 / 0.7275 GB, free: 13.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.029e-05/0.2483, allocations: 0 / 0.7275 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.0009829/0.2493, allocations: 0.6571 MB / 0.7281 GB, free: 12.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2494, allocations: 8.031 kB / 0.7281 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003276/0.2497, allocations: 56.62 kB / 0.7282 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.2503, allocations: 307.7 kB / 0.7285 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.2503, allocations: 12.38 kB / 0.7285 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.2503, allocations: 16.38 kB / 0.7285 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.251, allocations: 423.4 kB / 0.7289 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.251, allocations: 4.125 kB / 0.7289 GB, free: 11.73 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.251, allocations: 11.94 kB / 0.7289 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2511, allocations: 12 kB / 0.7289 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.2514, allocations: 192 kB / 0.7291 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.2536, allocations: 3.044 MB / 0.7321 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.2539, allocations: 162.7 kB / 0.7322 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.2541, allocations: 120.3 kB / 0.7323 GB, free: 7.984 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-05/0.2542, allocations: 11.98 kB / 0.7324 GB, free: 7.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/0.2542, allocations: 50.48 kB / 0.7324 GB, free: 7.914 MB / 0.545 GB Notification: Performance of pre-optimization done (n=62): time 2.244e-06/0.2542, allocations: 0 / 0.7324 GB, free: 7.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=62): time 0.0007559/0.255, allocations: 354.8 kB / 0.7327 GB, free: 7.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.2551, allocations: 132.5 kB / 0.7329 GB, free: 7.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.2555, allocations: 303.2 kB / 0.7332 GB, free: 7.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.2555, allocations: 33.7 kB / 0.7332 GB, free: 7.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2557, allocations: 196.7 kB / 0.7334 GB, free: 6.863 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.2558, allocations: 222 kB / 0.7336 GB, free: 6.645 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.256, allocations: 97.62 kB / 0.7337 GB, free: 6.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2561, allocations: 346.8 kB / 0.734 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2563, allocations: 84.97 kB / 0.7341 GB, free: 6.113 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.2566, allocations: 361.7 kB / 0.7344 GB, free: 5.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.2573, allocations: 0.5311 MB / 0.735 GB, free: 4.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.2573, allocations: 4 kB / 0.735 GB, free: 4.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0008063/0.2581, allocations: 485.3 kB / 0.7354 GB, free: 4.488 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.2581, allocations: 12.25 kB / 0.7354 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.683e-05/0.2582, allocations: 35.91 kB / 0.7355 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.2582, allocations: 12 kB / 0.7355 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2585, allocations: 67.84 kB / 0.7355 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.2585, allocations: 15.94 kB / 0.7356 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.2588, allocations: 67.5 kB / 0.7356 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.2589, allocations: 24 kB / 0.7356 GB, free: 4.258 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.0001899/0.2591, allocations: 169.5 kB / 0.7358 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.2592, allocations: 39.72 kB / 0.7358 GB, free: 4.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.2594, allocations: 58.2 kB / 0.7359 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2594, allocations: 0 / 0.7359 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.148e-05/0.2594, allocations: 19.98 kB / 0.7359 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.2596, allocations: 144.7 kB / 0.7361 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.2596, allocations: 8 kB / 0.7361 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.2598, allocations: 3.938 kB / 0.7361 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.2599, allocations: 19.98 kB / 0.7361 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005092/0.2604, allocations: 0.5571 MB / 0.7366 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006064/0.261, allocations: 0.6631 MB / 0.7373 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001655/0.2612, allocations: 108.1 kB / 0.7374 GB, free: 2.414 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002267/0.2614, allocations: 209.9 kB / 0.7376 GB, free: 2.207 MB / 0.545 GB Notification: Performance of Backend: time 7.61e-07/0.2614, allocations: 0 / 0.7376 GB, free: 2.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0021/0.2635, allocations: 0.8314 MB / 0.7384 GB, free: 1.398 MB / 0.545 GB Notification: Performance of SimCode: time 0.001488/0.265, allocations: 1.293 MB / 0.7397 GB, free: 8 kB / 0.545 GB Notification: Performance of Templates: time 0.01019/0.2752, allocations: 4.352 MB / 0.7439 GB, free: 11.7 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)