Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000627/0.000627, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002275/0.002902, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009283/0.001945, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8451/0.8451, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07087/0.916, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 3.217/3.217, allocations: 291.1 MB / 0.5227 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02968/3.246, allocations: 21.04 MB / 0.5433 GB, free: 31.48 MB / 410.7 MB " [Timeout remaining time 177] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.41e-07/8.41e-07, allocations: 0 / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.311e-06/7.152e-06, allocations: 2.312 kB / 0.5446 GB, free: 30.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.00137/0.001378, allocations: 1.393 MB / 0.5459 GB, free: 28.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001183/0.001496, allocations: 103.7 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.001511, allocations: 4 kB / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.594e-06/0.001518, allocations: 0 / 0.546 GB, free: 28.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.11e-05/0.001549, allocations: 7.922 kB / 0.5461 GB, free: 28.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.006e-05/0.001599, allocations: 15.88 kB / 0.5461 GB, free: 28.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.807e-05/0.001647, allocations: 19.86 kB / 0.5461 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.001685, allocations: 3.984 kB / 0.5461 GB, free: 28.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.001731, allocations: 8 kB / 0.5461 GB, free: 28.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.001835, allocations: 11.98 kB / 0.5461 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.001847, allocations: 4 kB / 0.5461 GB, free: 28.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-06/0.001854, allocations: 4 kB / 0.5461 GB, free: 28.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.001866, allocations: 3.938 kB / 0.5461 GB, free: 28.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.001881, allocations: 4 kB / 0.5461 GB, free: 28.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.001e-05/0.001941, allocations: 4 kB / 0.5461 GB, free: 28.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.001951, allocations: 0 / 0.5461 GB, free: 28.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001951, allocations: 4 kB / 0.5461 GB, free: 28.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.001959, allocations: 0 / 0.5461 GB, free: 28.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002652/0.002224, allocations: 224.7 kB / 0.5463 GB, free: 28.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.002255, allocations: 11.89 kB / 0.5464 GB, free: 28.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.002281, allocations: 4.938 kB / 0.5464 GB, free: 28.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.556e-05/0.002347, allocations: 109.8 kB / 0.5465 GB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.002356, allocations: 4.312 kB / 0.5465 GB, free: 28.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.002376, allocations: 4.375 kB / 0.5465 GB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.743e-05/0.002444, allocations: 51.34 kB / 0.5465 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.00245, allocations: 192 / 0.5465 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-06/0.002456, allocations: 384 / 0.5465 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.002461, allocations: 384 / 0.5465 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.471e-05/0.002486, allocations: 7.938 kB / 0.5465 GB, free: 28.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.002624, allocations: 147.6 kB / 0.5467 GB, free: 27.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.002669, allocations: 34.58 kB / 0.5467 GB, free: 27.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.166e-05/0.00268, allocations: 13.94 kB / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-06/0.002687, allocations: 3.938 kB / 0.5467 GB, free: 27.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.002701, allocations: 34.62 kB / 0.5468 GB, free: 27.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.002702, allocations: 0 / 0.5468 GB, free: 27.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.091e-05/0.002783, allocations: 37.64 kB / 0.5468 GB, free: 27.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.002802, allocations: 59.33 kB / 0.5468 GB, free: 27.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.943e-05/0.002842, allocations: 98.72 kB / 0.5469 GB, free: 27.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-06/0.002847, allocations: 25.7 kB / 0.547 GB, free: 27.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.002872, allocations: 88.09 kB / 0.5471 GB, free: 27.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.002882, allocations: 12.02 kB / 0.5471 GB, free: 27.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.002901, allocations: 25.69 kB / 0.5471 GB, free: 27.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.002936, allocations: 310.8 kB / 0.5474 GB, free: 27.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.002942, allocations: 4 kB / 0.5474 GB, free: 27.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.097e-05/0.002953, allocations: 13.72 kB / 0.5474 GB, free: 27.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.002984, allocations: 25.64 kB / 0.5474 GB, free: 27.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.002986, allocations: 0 / 0.5474 GB, free: 27.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.293e-05/0.003019, allocations: 45.62 kB / 0.5475 GB, free: 27.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.003028, allocations: 4 kB / 0.5475 GB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.003032, allocations: 4.031 kB / 0.5475 GB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.003044, allocations: 0 / 0.5475 GB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.00315, allocations: 27.86 kB / 0.5475 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.003153, allocations: 0 / 0.5475 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.388e-05/0.003167, allocations: 0 / 0.5475 GB, free: 26.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.003169, allocations: 0 / 0.5475 GB, free: 26.99 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) \"Mass of drug [kg]\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.104e-05/0.00323, allocations: 113.8 kB / 0.5476 GB, free: 26.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-06/0.003235, allocations: 4 kB / 0.5476 GB, free: 26.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.003251, allocations: 5.828 kB / 0.5476 GB, free: 26.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.003253, allocations: 7.938 kB / 0.5476 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.003254, allocations: 0 / 0.5476 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.003258, allocations: 3.984 kB / 0.5476 GB, free: 26.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.003e-05/0.003298, allocations: 65.91 kB / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.003299, allocations: 0 / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.003332, allocations: 8 kB / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-06/0.003338, allocations: 0 / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.003339, allocations: 0 / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.003346, allocations: 3.062 kB / 0.5477 GB, free: 26.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.003348, allocations: 7.922 kB / 0.5477 GB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.003349, allocations: 11.88 kB / 0.5477 GB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.542e-05/0.003414, allocations: 65.08 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-06/0.003422, allocations: 4 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-06/0.00343, allocations: 336 / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-06/0.003439, allocations: 3.938 kB / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.00344, allocations: 0 / 0.5478 GB, free: 26.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.428e-06/0.003449, allocations: 12.84 kB / 0.5478 GB, free: 26.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00345, allocations: 0 / 0.5478 GB, free: 26.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.637e-05/0.003536, allocations: 8 kB / 0.5478 GB, free: 26.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.743e-05/0.003583, allocations: 84.47 kB / 0.5479 GB, free: 26.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.569e-05/0.003629, allocations: 20.78 kB / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.003633, allocations: 0 / 0.5479 GB, free: 26.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.226e-06/0.003642, allocations: 8.859 kB / 0.5479 GB, free: 26.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.217e-05/0.003734, allocations: 37.69 kB / 0.548 GB, free: 26.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.004929, allocations: 169.2 kB / 0.5481 GB, free: 26.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.018e-05/0.004949, allocations: 51.36 kB / 0.5482 GB, free: 26.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.469e-05/0.004963, allocations: 0 / 0.5482 GB, free: 26.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.004996, allocations: 59.36 kB / 0.5482 GB, free: 26.14 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.004997, allocations: 0 / 0.5482 GB, free: 26.14 MB / 410.7 MB Notification: Performance of Templates: time 0.001617/0.006614, allocations: 484.2 kB / 0.5487 GB, free: 25.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.334925622679293]