Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.001872/0.001872, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002242/0.002242, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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 1.643/1.643, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 6.161/6.161, allocations: 274.5 MB / 0.5215 GB, free: 14.15 MB / 458.7 MB " [Timeout remaining time 173] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.6472 GB, free: 39.02 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.133e-05/3.378e-05, allocations: 6.25 kB / 0.6472 GB, free: 39.01 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.003008/0.003042, allocations: 1.714 MB / 0.6489 GB, free: 37.87 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0003015/0.003344, allocations: 86.56 kB / 0.649 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.003408, allocations: 2.188 kB / 0.649 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.003525, allocations: 11.34 kB / 0.649 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003642, allocations: 19.42 kB / 0.649 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.003748, allocations: 29.67 kB / 0.649 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000201/0.00395, allocations: 87.47 kB / 0.6491 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.004063, allocations: 9.672 kB / 0.6491 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.004159, allocations: 45.06 kB / 0.6492 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.004255, allocations: 29.62 kB / 0.6492 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.004283, allocations: 6.969 kB / 0.6492 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.084e-05/0.004303, allocations: 5.875 kB / 0.6492 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.004331, allocations: 8.984 kB / 0.6492 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.004391, allocations: 24.22 kB / 0.6492 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.004541, allocations: 65.12 kB / 0.6493 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.004545, allocations: 2.344 kB / 0.6493 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004546, allocations: 0 / 0.6493 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.004551, allocations: 2.578 kB / 0.6493 GB, free: 37.71 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005261/0.005077, allocations: 425.7 kB / 0.6497 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.005121, allocations: 7.625 kB / 0.6497 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.005181, allocations: 21.64 kB / 0.6497 GB, free: 37.28 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.005323, allocations: 131.5 kB / 0.6499 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.005336, allocations: 2.438 kB / 0.6499 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.005366, allocations: 10.25 kB / 0.6499 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.005539, allocations: 102.9 kB / 0.65 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.005556, allocations: 1.656 kB / 0.65 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.005574, allocations: 7.938 kB / 0.65 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.005582, allocations: 7 kB / 0.65 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.005754, allocations: 77.11 kB / 0.6501 GB, free: 37 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.006184, allocations: 316.4 kB / 0.6504 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.006339, allocations: 115.6 kB / 0.6505 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.006402, allocations: 59.14 kB / 0.6505 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.006416, allocations: 2.188 kB / 0.6505 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.006596, allocations: 181.4 kB / 0.6507 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.006597, allocations: 0 / 0.6507 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0008502/0.007448, allocations: 0.5047 MB / 0.6512 GB, free: 36 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.007504, allocations: 133.4 kB / 0.6513 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.007597, allocations: 171.9 kB / 0.6515 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.007611, allocations: 30.7 kB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.007655, allocations: 134.5 kB / 0.6517 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.007701, allocations: 46.64 kB / 0.6517 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.00776, allocations: 35.38 kB / 0.6517 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.007863, allocations: 0.5032 MB / 0.6522 GB, free: 34.93 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.206e-05/0.007935, allocations: 70.47 kB / 0.6523 GB, free: 34.88 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.008015, allocations: 103.8 kB / 0.6524 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.008278, allocations: 237.3 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.008282, allocations: 2.312 kB / 0.6526 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002639/0.008546, allocations: 208.9 kB / 0.6528 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.008578, allocations: 31.52 kB / 0.6529 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008584, allocations: 2.156 kB / 0.6529 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.008602, allocations: 9.031 kB / 0.6529 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.008749, allocations: 25.23 kB / 0.6529 GB, free: 34.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.008757, allocations: 5.578 kB / 0.6529 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.008809, allocations: 6.75 kB / 0.6529 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.008821, allocations: 5.812 kB / 0.6529 GB, free: 34.39 MB / 0.5262 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001835/0.009005, allocations: 222.4 kB / 0.6531 GB, free: 34.18 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.009029, allocations: 16.27 kB / 0.6531 GB, free: 34.18 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.009065, allocations: 12.44 kB / 0.6531 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.009068, allocations: 3.047 kB / 0.6531 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.009074, allocations: 3.266 kB / 0.6531 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009078, allocations: 1.5 kB / 0.6532 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.009473, allocations: 479.9 kB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.009475, allocations: 3.188 kB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.009581, allocations: 22.58 kB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.009584, allocations: 3.062 kB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.009604, allocations: 3.062 kB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009606, allocations: 0 / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.009607, allocations: 1.5 kB / 0.6536 GB, free: 33.75 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.009968, allocations: 432.6 kB / 0.6541 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.404e-05/0.009982, allocations: 6.172 kB / 0.6541 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.01, allocations: 5.469 kB / 0.6541 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.01007, allocations: 3.375 kB / 0.6541 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.01012, allocations: 7.391 kB / 0.6541 GB, free: 33.41 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.01013, allocations: 10.59 kB / 0.6541 GB, free: 33.4 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.141e-05/0.01017, allocations: 131.6 kB / 0.6542 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.01017, allocations: 0 / 0.6542 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002391/0.01041, allocations: 27.53 kB / 0.6542 GB, free: 33.28 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 9.312e-05/0.0105, allocations: 102.2 kB / 0.6543 GB, free: 33.19 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.01081, allocations: 226.2 kB / 0.6545 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01081, allocations: 0 / 0.6545 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.01092, allocations: 137.3 kB / 0.6547 GB, free: 32.91 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01124, allocations: 30.27 kB / 0.6547 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.0119, allocations: 380.9 kB / 0.6551 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.249e-05/0.01197, allocations: 84.66 kB / 0.6552 GB, free: 32.57 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.012, allocations: 10.25 kB / 0.6552 GB, free: 32.56 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.453e-05/0.01204, allocations: 15.88 kB / 0.6552 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of SimCode: time 5.01e-07/0.01204, allocations: 1.203 kB / 0.6552 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of Templates: time 0.004904/0.01694, allocations: 1.241 MB / 0.6564 GB, free: 32.42 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.590277642011642]