Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.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.001016/0.001016, allocations: 92.22 kB / 19.65 MB, free: 276 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.001436/0.001436, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9777/0.9777, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.638/1.638, allocations: 273.5 MB / 0.5209 GB, free: 14.84 MB / 458.7 MB " [Timeout remaining time 178] 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_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.6469 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.445e-05, allocations: 3.781 kB / 0.6469 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001683/0.001708, allocations: 1.297 MB / 0.6482 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.001948, allocations: 96.34 kB / 0.6483 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.001974, allocations: 0 / 0.6483 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.315e-05/0.001997, allocations: 3.375 kB / 0.6483 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.002061, allocations: 10.67 kB / 0.6483 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.002219, allocations: 5.562 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.002274, allocations: 20.56 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.002313, allocations: 1.25 kB / 0.6483 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.095e-05/0.002344, allocations: 6.469 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.002476, allocations: 9.359 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.00249, allocations: 2.844 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.002497, allocations: 0 / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.002508, allocations: 5.734 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.002527, allocations: 2.875 kB / 0.6484 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.125e-05/0.002588, allocations: 12.39 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00259, allocations: 0 / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.12e-07/0.002591, allocations: 3.562 kB / 0.6484 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002595, allocations: 0 / 0.6484 GB, free: 37.74 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002583/0.002853, allocations: 342.2 kB / 0.6487 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.002895, allocations: 13.47 kB / 0.6487 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.002928, allocations: 4.875 kB / 0.6487 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.002993, allocations: 114.6 kB / 0.6488 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.003005, allocations: 2.094 kB / 0.6488 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.003027, allocations: 1.781 kB / 0.6488 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.918e-05/0.003106, allocations: 50.89 kB / 0.6489 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.003113, allocations: 1.391 kB / 0.6489 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.003122, allocations: 1.875 kB / 0.6489 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.00313, allocations: 384 / 0.6489 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.557e-05/0.003146, allocations: 10.16 kB / 0.6489 GB, free: 37.18 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.003526, allocations: 283 kB / 0.6492 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.003561, allocations: 27.97 kB / 0.6492 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.003575, allocations: 14 kB / 0.6492 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.003581, allocations: 1.5 kB / 0.6492 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.003596, allocations: 35.23 kB / 0.6492 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.003597, allocations: 0 / 0.6492 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001103/0.003708, allocations: 43.19 kB / 0.6493 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.003725, allocations: 54.22 kB / 0.6493 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.003777, allocations: 165.2 kB / 0.6495 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-06/0.003782, allocations: 27.7 kB / 0.6495 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.003807, allocations: 128.5 kB / 0.6496 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.003815, allocations: 5.516 kB / 0.6497 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.003842, allocations: 21.56 kB / 0.6497 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.003889, allocations: 494.2 kB / 0.6501 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.003903, allocations: 5.062 kB / 0.6502 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.003915, allocations: 19.03 kB / 0.6502 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.003959, allocations: 32.66 kB / 0.6502 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.003962, allocations: 0 / 0.6502 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.524e-05/0.004017, allocations: 49.69 kB / 0.6502 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.00403, allocations: 8.812 kB / 0.6503 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.004035, allocations: 3.938 kB / 0.6503 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.004051, allocations: 2.531 kB / 0.6503 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.588e-05/0.004087, allocations: 4.406 kB / 0.6503 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.004092, allocations: 0 / 0.6503 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.706e-05/0.004109, allocations: 6.516 kB / 0.6503 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.004114, allocations: 1.906 kB / 0.6503 GB, free: 35.75 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: C:VARIABLE(min = -1e-9 start = 0.022857142857142857 unit = \"kg/m3\" fixed = true ) \"Concentration of drug\" 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 (3): * Single equations (assignments): 3 * 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 8.413e-05/0.004198, allocations: 159.5 kB / 0.6504 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-06/0.004205, allocations: 1.594 kB / 0.6504 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.004227, allocations: 12.47 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.004229, allocations: 1.781 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.004232, allocations: 0 / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.004234, allocations: 1.312 kB / 0.6504 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.004409, allocations: 145 kB / 0.6506 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.00441, allocations: 0 / 0.6506 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.004425, allocations: 4.344 kB / 0.6506 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.004427, allocations: 0 / 0.6506 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.004438, allocations: 0 / 0.6506 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.004441, allocations: 9.344 kB / 0.6506 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.004442, allocations: 0 / 0.6506 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/0.00453, allocations: 80 kB / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.00454, allocations: 0 / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.004551, allocations: 1.594 kB / 0.6507 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.00456, allocations: 3.938 kB / 0.6507 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.004576, allocations: 7.891 kB / 0.6507 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.004578, allocations: 0 / 0.6507 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.914e-05/0.004597, allocations: 125.4 kB / 0.6508 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.004597, allocations: 0 / 0.6508 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001211/0.004718, allocations: 7.438 kB / 0.6508 GB, free: 35.23 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (C) * 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 (1): * Single equations (assignments): 1 * 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 6.46e-05/0.004783, allocations: 91 kB / 0.6509 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 7.367e-05/0.004856, allocations: 23.97 kB / 0.6509 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.004858, allocations: 0 / 0.6509 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 6.683e-06/0.004864, allocations: 9.188 kB / 0.6509 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.005011, allocations: 9.188 kB / 0.6509 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.005605, allocations: 170 kB / 0.6511 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.052e-05/0.005626, allocations: 61.3 kB / 0.6512 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.072e-05/0.005647, allocations: 9.25 kB / 0.6512 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.111e-05/0.005668, allocations: 10.22 kB / 0.6512 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of SimCode: time 8.52e-07/0.005669, allocations: 0 / 0.6512 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of Templates: time 0.002002/0.007671, allocations: 329.5 kB / 0.6515 GB, free: 34.84 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.695603909902275]