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.009926/0.009926, allocations: 1.439 MB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.1-main/package.mo): time 0.1553/0.1553, allocations: 22.37 MB / 41.16 MB, free: 7.773 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.001397/0.001397, allocations: 108 kB / 48.65 MB, free: 264 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.001568/0.001568, allocations: 197.6 kB / 56.25 MB, free: 9.469 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.679/1.679, allocations: 222.9 MB / 286.6 MB, free: 13.93 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9869/0.9869, allocations: 127.8 MB / 471.3 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003453/0.003453, allocations: 127.8 kB / 0.6359 GB, free: 13.26 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8023/0.8058, allocations: 82.35 MB / 0.7163 GB, free: 9.723 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(ClaRa.Basics.Media.CreateInterpolatedMedium): time 0.007178/0.813, allocations: 3.399 MB / 0.7196 GB, free: 7.055 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.01015/0.8231, allocations: 5.013 MB / 0.7245 GB, free: 3.047 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.8235, allocations: 4.375 kB / 0.7245 GB, free: 3.047 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.8249, allocations: 304.9 kB / 0.7248 GB, free: 2.832 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.8255, allocations: 196.9 kB / 0.725 GB, free: 2.676 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.8268, allocations: 405.1 kB / 0.7254 GB, free: 2.371 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0009261/0.8277, allocations: 0.5216 MB / 0.7259 GB, free: 2.074 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.8278, allocations: 28.5 kB / 0.7259 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002837/0.8281, allocations: 190 kB / 0.7261 GB, free: 1.957 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.8285, allocations: 202 kB / 0.7263 GB, free: 1.84 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.8285, allocations: 21.72 kB / 0.7263 GB, free: 1.84 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008046/0.8293, allocations: 308.5 kB / 0.7266 GB, free: 1.684 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.8294, allocations: 68.41 kB / 0.7267 GB, free: 1.633 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.8296, allocations: 173.8 kB / 0.7269 GB, free: 1.516 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.8307, allocations: 0.6097 MB / 0.7275 GB, free: 1.145 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8308, allocations: 0 / 0.7275 GB, free: 1.145 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8308, allocations: 0 / 0.7275 GB, free: 1.145 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.8308, allocations: 1.344 kB / 0.7275 GB, free: 1.145 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.001/0.8318, allocations: 0.6638 MB / 0.7281 GB, free: 0.5352 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8318, allocations: 9.469 kB / 0.7281 GB, free: 0.5352 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000308/0.8321, allocations: 56.09 kB / 0.7282 GB, free: 0.5039 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.8327, allocations: 310.5 kB / 0.7285 GB, free: 208 kB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.8327, allocations: 12.31 kB / 0.7285 GB, free: 204 kB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.8328, allocations: 23.2 kB / 0.7285 GB, free: 192 kB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.8335, allocations: 414.7 kB / 0.7289 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.8335, allocations: 2.188 kB / 0.7289 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.8335, allocations: 12.25 kB / 0.7289 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.8335, allocations: 13.16 kB / 0.7289 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.8339, allocations: 200 kB / 0.7291 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.8366, allocations: 3.035 MB / 0.7321 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.8368, allocations: 131.7 kB / 0.7322 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.837, allocations: 89.36 kB / 0.7323 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.828e-05/0.8371, allocations: 15.05 kB / 0.7323 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.8371, allocations: 37.06 kB / 0.7323 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.715e-06/0.8371, allocations: 0 / 0.7323 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.0008329/0.838, allocations: 358.4 kB / 0.7327 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.8381, allocations: 131.6 kB / 0.7328 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.8386, allocations: 305.8 kB / 0.7331 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.8386, allocations: 26.86 kB / 0.7331 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.8388, allocations: 210.7 kB / 0.7333 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.839, allocations: 216.9 kB / 0.7335 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.8392, allocations: 95.41 kB / 0.7336 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.8394, allocations: 347.2 kB / 0.734 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.8396, allocations: 88.64 kB / 0.734 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.8401, allocations: 368.6 kB / 0.7344 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.8409, allocations: 0.5189 MB / 0.7349 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.8409, allocations: 3.062 kB / 0.7349 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009093/0.8418, allocations: 485.2 kB / 0.7354 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.8418, allocations: 16.81 kB / 0.7354 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.769e-05/0.8419, allocations: 27.58 kB / 0.7354 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-05/0.8419, allocations: 12.25 kB / 0.7354 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.8421, allocations: 71.59 kB / 0.7355 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.339e-05/0.8422, allocations: 24.94 kB / 0.7355 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.8425, allocations: 61.8 kB / 0.7356 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.8426, allocations: 28.72 kB / 0.7356 GB, free: 9.691 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.0002225/0.8428, allocations: 167.3 kB / 0.7358 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.8429, allocations: 42.5 kB / 0.7358 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.8431, allocations: 50.09 kB / 0.7358 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.8431, allocations: 4.469 kB / 0.7358 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8431, allocations: 1.812 kB / 0.7358 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8431, allocations: 1.719 kB / 0.7359 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/0.8438, allocations: 360.1 kB / 0.7362 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.8438, allocations: 18.02 kB / 0.7362 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.653e-05/0.8439, allocations: 22.91 kB / 0.7362 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.8439, allocations: 4.906 kB / 0.7362 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.8439, allocations: 9.156 kB / 0.7362 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8439, allocations: 6.438 kB / 0.7363 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8439, allocations: 1.125 kB / 0.7363 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006914/0.8446, allocations: 0.588 MB / 0.7368 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.8448, allocations: 154.4 kB / 0.737 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.8449, allocations: 18.33 kB / 0.737 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.8451, allocations: 1.094 kB / 0.737 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.8451, allocations: 12.86 kB / 0.737 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.8451, allocations: 12.38 kB / 0.737 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002812/0.8454, allocations: 207.4 kB / 0.7372 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.8454, allocations: 0 / 0.7372 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008313/0.8462, allocations: 130.1 kB / 0.7373 GB, free: 8.297 MB / 0.5294 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.001199/0.8474, allocations: 375 kB / 0.7377 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008824/0.8483, allocations: 499.9 kB / 0.7382 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.8483, allocations: 1.062 kB / 0.7382 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.8487, allocations: 326.3 kB / 0.7385 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.8495, allocations: 70.34 kB / 0.7386 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.851, allocations: 0.6474 MB / 0.7392 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.8515, allocations: 0.7951 MB / 0.74 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.8518, allocations: 87.36 kB / 0.74 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.8519, allocations: 42.94 kB / 0.7401 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.8519, allocations: 5.156 kB / 0.7401 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.01269/0.8646, allocations: 5.314 MB / 0.7453 GB, free: 1.652 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 -s cvode -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.Media.CreateInterpolatedMedium.pipe 2>&1)