Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.0009545/0.0009545, allocations: 93.06 kB / 19.65 MB, free: 284 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.001095/0.001095, allocations: 169.3 kB / 23.03 MB, free: 1.547 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.9046/0.9046, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.578/1.578, allocations: 273.5 MB / 0.5209 GB, free: 14.76 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.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 0.6469 GB, free: 38.58 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.886e-05, allocations: 4.562 kB / 0.6469 GB, free: 38.57 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002109/0.002138, allocations: 1.542 MB / 0.6485 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0004783/0.002616, allocations: 327.7 kB / 0.6488 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.002658, allocations: 1.906 kB / 0.6488 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.002929, allocations: 48.7 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.002995, allocations: 20.06 kB / 0.6488 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.00329, allocations: 106.9 kB / 0.6489 GB, free: 37.31 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 9.294e-05/0.003383, allocations: 51.83 kB / 0.649 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.003421, allocations: 10.84 kB / 0.649 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.003469, allocations: 21.92 kB / 0.649 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.003554, allocations: 23.84 kB / 0.649 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.003569, allocations: 3.188 kB / 0.649 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.003758, allocations: 140.7 kB / 0.6492 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.003804, allocations: 17.8 kB / 0.6492 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.003836, allocations: 17.38 kB / 0.6492 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.004052, allocations: 170.8 kB / 0.6494 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.004056, allocations: 0 / 0.6494 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.004057, allocations: 1.469 kB / 0.6494 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004062, allocations: 0 / 0.6494 GB, free: 37.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003654/0.004428, allocations: 415.5 kB / 0.6498 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.004466, allocations: 9.281 kB / 0.6498 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.004627, allocations: 27.83 kB / 0.6498 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.004715, allocations: 127.3 kB / 0.6499 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.004731, allocations: 5.844 kB / 0.6499 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.004751, allocations: 2.406 kB / 0.6499 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.004889, allocations: 91.89 kB / 0.65 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004897, allocations: 4.125 kB / 0.65 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.004908, allocations: 5.156 kB / 0.65 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.004916, allocations: 2.688 kB / 0.65 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.004959, allocations: 30.64 kB / 0.6501 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.005318, allocations: 456.3 kB / 0.6505 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.005466, allocations: 67.28 kB / 0.6506 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.005492, allocations: 21.09 kB / 0.6506 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.005499, allocations: 2.281 kB / 0.6506 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.005514, allocations: 33.39 kB / 0.6506 GB, free: 36 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.005516, allocations: 2.906 kB / 0.6506 GB, free: 36 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0001981/0.005714, allocations: 113.4 kB / 0.6507 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/0.005733, allocations: 53.56 kB / 0.6508 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.005835, allocations: 227.2 kB / 0.651 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.005841, allocations: 27.02 kB / 0.651 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.00588, allocations: 151.7 kB / 0.6512 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.005899, allocations: 13.33 kB / 0.6512 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.00593, allocations: 29.34 kB / 0.6512 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.005982, allocations: 0.4931 MB / 0.6517 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.298e-05/0.006005, allocations: 17.44 kB / 0.6517 GB, free: 34.98 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.006031, allocations: 39.06 kB / 0.6517 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.366e-05/0.006115, allocations: 81.11 kB / 0.6518 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.006118, allocations: 1.125 kB / 0.6518 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.006226, allocations: 99.25 kB / 0.6519 GB, free: 34.85 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.006241, allocations: 11.19 kB / 0.6519 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.006246, allocations: 6.156 kB / 0.6519 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.006261, allocations: 0 / 0.6519 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.208e-05/0.006313, allocations: 17.31 kB / 0.652 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.006319, allocations: 1.219 kB / 0.652 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.006338, allocations: 2.438 kB / 0.652 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.006381, allocations: 21.83 kB / 0.652 GB, free: 34.84 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) 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: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.847e-05/0.00647, allocations: 166.2 kB / 0.6521 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.006509, allocations: 22.86 kB / 0.6522 GB, free: 34.66 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.006531, allocations: 14.62 kB / 0.6522 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006533, allocations: 0 / 0.6522 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.006538, allocations: 3.5 kB / 0.6522 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006541, allocations: 3.609 kB / 0.6522 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.006644, allocations: 151.4 kB / 0.6523 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.006646, allocations: 0 / 0.6523 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.006688, allocations: 16.22 kB / 0.6523 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.00669, allocations: 0 / 0.6523 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006697, allocations: 2.531 kB / 0.6523 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.006699, allocations: 5.219 kB / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0067, allocations: 0 / 0.6523 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.006859, allocations: 274.5 kB / 0.6526 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.006866, allocations: 9.172 kB / 0.6526 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.006877, allocations: 0 / 0.6526 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.848e-05/0.006906, allocations: 3.938 kB / 0.6526 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.006921, allocations: 3.312 kB / 0.6526 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.006939, allocations: 22.44 kB / 0.6526 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.006983, allocations: 157.1 kB / 0.6528 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.006983, allocations: 0 / 0.6528 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001785/0.007161, allocations: 31.73 kB / 0.6528 GB, free: 34.12 MB / 0.5262 GB 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 (5): * Single equations (assignments): 5 * 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 0.0001861/0.007348, allocations: 151.2 kB / 0.653 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.007455, allocations: 50.55 kB / 0.653 GB, free: 34 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007456, allocations: 3.656 kB / 0.653 GB, free: 34 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 2.268e-05/0.007479, allocations: 38.16 kB / 0.6531 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.007673, allocations: 7.719 kB / 0.6531 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.008378, allocations: 271.7 kB / 0.6533 GB, free: 33.79 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.008415, allocations: 63.75 kB / 0.6534 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.008466, allocations: 62.34 kB / 0.6534 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.00849, allocations: 12.84 kB / 0.6535 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of SimCode: time 1.232e-06/0.008491, allocations: 1.422 kB / 0.6535 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of Templates: time 0.003382/0.01187, allocations: 1.487 MB / 0.6549 GB, free: 33.55 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.410531065892428]