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.01266/0.01266, allocations: 1.438 MB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1748/0.1748, allocations: 22.38 MB / 41.17 MB, free: 7.777 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 104 kB / 48.66 MB, free: 268 kB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002282/0.002282, allocations: 200.7 kB / 56.26 MB, free: 9.461 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.566/1.566, allocations: 222.9 MB / 286.6 MB, free: 13.9 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9815/0.9815, allocations: 127.8 MB / 471.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 127.8 kB / 0.6359 GB, free: 13.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7135/0.7159, allocations: 82.35 MB / 0.7163 GB, free: 9.719 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.005994/0.7219, allocations: 3.392 MB / 0.7196 GB, free: 7.055 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.009563/0.7315, allocations: 5.014 MB / 0.7245 GB, free: 3.043 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005527/0.7321, allocations: 11.91 kB / 0.7245 GB, free: 3.035 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001433/0.7336, allocations: 291.6 kB / 0.7248 GB, free: 2.832 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0008934/0.7346, allocations: 209.2 kB / 0.725 GB, free: 2.664 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.736, allocations: 397.5 kB / 0.7254 GB, free: 2.367 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.7372, allocations: 0.5248 MB / 0.7259 GB, free: 2.066 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.7374, allocations: 40.17 kB / 0.726 GB, free: 2.047 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002794/0.7376, allocations: 202.7 kB / 0.7261 GB, free: 1.938 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003676/0.738, allocations: 198.3 kB / 0.7263 GB, free: 1.824 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 4.96e-05/0.7381, allocations: 22.12 kB / 0.7264 GB, free: 1.824 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.739, allocations: 303.2 kB / 0.7266 GB, free: 1.672 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.7391, allocations: 72.09 kB / 0.7267 GB, free: 1.617 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.7393, allocations: 171.2 kB / 0.7269 GB, free: 1.504 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.7405, allocations: 0.6084 MB / 0.7275 GB, free: 1.133 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.7405, allocations: 0 / 0.7275 GB, free: 1.133 MB / 0.5138 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7405, allocations: 1.469 kB / 0.7275 GB, free: 1.133 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.7405, allocations: 0 / 0.7275 GB, free: 1.133 MB / 0.5138 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.00106/0.7416, allocations: 0.6629 MB / 0.7281 GB, free: 0.5234 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.7416, allocations: 12.88 kB / 0.7281 GB, free: 0.5195 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.742, allocations: 54.44 kB / 0.7282 GB, free: 500 kB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/0.7426, allocations: 307.6 kB / 0.7285 GB, free: 196 kB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.7427, allocations: 11.47 kB / 0.7285 GB, free: 192 kB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.7427, allocations: 15.94 kB / 0.7285 GB, free: 188 kB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.7434, allocations: 418.5 kB / 0.7289 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.7435, allocations: 6.281 kB / 0.7289 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.7435, allocations: 16.14 kB / 0.7289 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.7435, allocations: 7.875 kB / 0.7289 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.744, allocations: 188.8 kB / 0.7291 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.7469, allocations: 3.039 MB / 0.7321 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.7472, allocations: 164.2 kB / 0.7322 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.7474, allocations: 126.7 kB / 0.7324 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.7476, allocations: 11.98 kB / 0.7324 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.7476, allocations: 40.62 kB / 0.7324 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 3.377e-06/0.7476, allocations: 0 / 0.7324 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.000916/0.7486, allocations: 355.7 kB / 0.7328 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.7487, allocations: 135 kB / 0.7329 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.7492, allocations: 313.8 kB / 0.7332 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7493, allocations: 26.64 kB / 0.7332 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.7494, allocations: 199.1 kB / 0.7334 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.7496, allocations: 212.6 kB / 0.7336 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.7498, allocations: 103.3 kB / 0.7337 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.75, allocations: 347.5 kB / 0.734 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.7502, allocations: 87.72 kB / 0.7341 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.7507, allocations: 364.3 kB / 0.7345 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.7514, allocations: 0.5239 MB / 0.735 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.7515, allocations: 7.344 kB / 0.735 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009325/0.7524, allocations: 484.7 kB / 0.7354 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.7524, allocations: 9.594 kB / 0.7354 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.16e-05/0.7525, allocations: 33.97 kB / 0.7355 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/0.7526, allocations: 12.19 kB / 0.7355 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.7528, allocations: 68.47 kB / 0.7356 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-05/0.7529, allocations: 16.53 kB / 0.7356 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.7532, allocations: 66.17 kB / 0.7356 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.7533, allocations: 27.48 kB / 0.7357 GB, free: 9.641 MB / 0.5294 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.0002249/0.7536, allocations: 168.5 kB / 0.7358 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.7537, allocations: 42.75 kB / 0.7359 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.7539, allocations: 46.62 kB / 0.7359 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.098e-06/0.7539, allocations: 9.766 kB / 0.7359 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-05/0.7539, allocations: 18.05 kB / 0.7359 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.7541, allocations: 150.2 kB / 0.7361 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.7542, allocations: 6.375 kB / 0.7361 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.7544, allocations: 1.156 kB / 0.7361 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.7544, allocations: 20.58 kB / 0.7361 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006686/0.7551, allocations: 0.5587 MB / 0.7367 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000754/0.7559, allocations: 0.669 MB / 0.7373 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002102/0.7561, allocations: 102.5 kB / 0.7374 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003238/0.7564, allocations: 212.4 kB / 0.7376 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of Backend: time 4.41e-07/0.7564, allocations: 0 / 0.7376 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.7591, allocations: 0.827 MB / 0.7384 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00182/0.7609, allocations: 1.288 MB / 0.7397 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of Templates: time 0.01147/0.7724, allocations: 4.347 MB / 0.7439 GB, free: 3.051 MB / 0.5294 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)