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.001087/0.001087, allocations: 89.08 kB / 19.42 MB, free: 496 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.001247/0.001247, allocations: 169.3 kB / 22.72 MB, free: 1.828 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.9768/0.9768, allocations: 177.1 MB / 203.1 MB, free: 5.652 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.657/1.657, allocations: 273.5 MB / 0.5205 GB, free: 14.86 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_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 1.372e-06/1.372e-06, allocations: 0 / 0.6462 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.14e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.64 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.002675/0.002696, allocations: 1.314 MB / 0.6475 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002483/0.002945, allocations: 105 kB / 0.6476 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.00297, allocations: 0 / 0.6476 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.002989, allocations: 0 / 0.6476 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.003047, allocations: 8.031 kB / 0.6476 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.003202, allocations: 11.53 kB / 0.6476 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.003257, allocations: 23.75 kB / 0.6476 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.003296, allocations: 3.812 kB / 0.6476 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.003328, allocations: 12.09 kB / 0.6477 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.003456, allocations: 5.828 kB / 0.6477 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.003468, allocations: 1.469 kB / 0.6477 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.574e-06/0.003476, allocations: 3.312 kB / 0.6477 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.018e-05/0.003486, allocations: 3.141 kB / 0.6477 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.003526, allocations: 3.641 kB / 0.6477 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.032e-05/0.003586, allocations: 16.3 kB / 0.6477 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.003589, allocations: 3.688 kB / 0.6477 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003589, allocations: 0 / 0.6477 GB, free: 37.69 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.003593, allocations: 0 / 0.6477 GB, free: 37.69 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002528/0.003846, allocations: 346.9 kB / 0.648 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.003883, allocations: 10.59 kB / 0.648 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.003914, allocations: 0.9375 kB / 0.648 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.056e-05/0.003975, allocations: 115.3 kB / 0.6481 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.003986, allocations: 4.125 kB / 0.6482 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.00401, allocations: 384 / 0.6482 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/0.004092, allocations: 58.98 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.004099, allocations: 1.438 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004109, allocations: 3.516 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.004116, allocations: 384 / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.668e-05/0.004143, allocations: 9.812 kB / 0.6482 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.004346, allocations: 244.7 kB / 0.6485 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.004398, allocations: 45.22 kB / 0.6485 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.004414, allocations: 11.44 kB / 0.6485 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.00442, allocations: 0 / 0.6485 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.004436, allocations: 35.17 kB / 0.6485 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004437, allocations: 1.062 kB / 0.6485 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001552/0.004592, allocations: 47.42 kB / 0.6486 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.00461, allocations: 55.98 kB / 0.6486 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/0.00466, allocations: 159.8 kB / 0.6488 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-06/0.004666, allocations: 25.7 kB / 0.6488 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.004691, allocations: 133.9 kB / 0.6489 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 9.228e-06/0.004701, allocations: 7.328 kB / 0.649 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.004729, allocations: 23.22 kB / 0.649 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.004772, allocations: 496.4 kB / 0.6494 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.004783, allocations: 1.625 kB / 0.6495 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.004799, allocations: 27.89 kB / 0.6495 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.004841, allocations: 31.97 kB / 0.6495 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004843, allocations: 1.062 kB / 0.6495 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.98e-05/0.004903, allocations: 46.67 kB / 0.6496 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.004914, allocations: 5.906 kB / 0.6496 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.004921, allocations: 6.219 kB / 0.6496 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.004939, allocations: 0 / 0.6496 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.005041, allocations: 14.78 kB / 0.6496 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.005047, allocations: 0 / 0.6496 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.005068, allocations: 1.469 kB / 0.6496 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.005073, allocations: 3.75 kB / 0.6496 GB, free: 35.69 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 ) \"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 7.491e-05/0.005148, allocations: 160.5 kB / 0.6497 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.005156, allocations: 9.031 kB / 0.6497 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.345e-05/0.00518, allocations: 16.34 kB / 0.6498 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.005181, allocations: 1.25 kB / 0.6498 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.005184, allocations: 3.562 kB / 0.6498 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005187, allocations: 0 / 0.6498 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.236e-05/0.005229, allocations: 108.5 kB / 0.6499 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00523, allocations: 1.219 kB / 0.6499 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.005263, allocations: 6.953 kB / 0.6499 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005264, allocations: 0 / 0.6499 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.005274, allocations: 3.188 kB / 0.6499 GB, free: 35.38 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005276, allocations: 3.938 kB / 0.6499 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.005277, allocations: 3.984 kB / 0.6499 GB, free: 35.37 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.527e-05/0.005362, allocations: 82.47 kB / 0.65 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.005371, allocations: 2.375 kB / 0.65 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005381, allocations: 5.312 kB / 0.65 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.005393, allocations: 5.375 kB / 0.65 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.005406, allocations: 1.531 kB / 0.65 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.005408, allocations: 1.844 kB / 0.65 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.817e-05/0.005426, allocations: 126.5 kB / 0.6501 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.005426, allocations: 1.406 kB / 0.6501 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001849/0.005611, allocations: 3.781 kB / 0.6501 GB, free: 35.16 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 (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 5.074e-05/0.005662, allocations: 94.16 kB / 0.6502 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.005731, allocations: 28.42 kB / 0.6502 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.005732, allocations: 0 / 0.6502 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.005742, allocations: 12.91 kB / 0.6502 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.00591, allocations: 2.062 kB / 0.6502 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.006599, allocations: 193.9 kB / 0.6504 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.036e-05/0.006619, allocations: 61.06 kB / 0.6505 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.826e-05/0.006637, allocations: 4.75 kB / 0.6505 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.006656, allocations: 10.56 kB / 0.6505 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of SimCode: time 5.01e-07/0.006657, allocations: 0 / 0.6505 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of Templates: time 0.001874/0.008531, allocations: 402.8 kB / 0.6509 GB, free: 34.75 MB / 0.5262 GB " [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: 4.775348903145641]