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.001481/0.001481, allocations: 77.88 kB / 20.66 MB, free: 3.852 MB / 18.57 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.001642/0.001642, allocations: 165 kB / 24.06 MB, free: 464 kB / 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.007/1.007, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.63/1.63, allocations: 273.5 MB / 0.522 GB, free: 14.74 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 2.124e-06/2.124e-06, allocations: 0 / 0.6482 GB, free: 38.54 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.326e-05, allocations: 4.391 kB / 0.6482 GB, free: 38.54 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.003225/0.003258, allocations: 1.31 MB / 0.6494 GB, free: 37.67 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0003608/0.003619, allocations: 96.67 kB / 0.6495 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.003657, allocations: 0 / 0.6495 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.431e-05/0.003681, allocations: 1.25 kB / 0.6495 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.003763, allocations: 6.781 kB / 0.6495 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.003974, allocations: 6.609 kB / 0.6495 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.00405, allocations: 13.91 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.004106, allocations: 5.188 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.748e-05/0.004154, allocations: 11.66 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.004329, allocations: 11.89 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004348, allocations: 1.25 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.004358, allocations: 0 / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.004373, allocations: 2.672 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.004393, allocations: 3.25 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 7.352e-05/0.004467, allocations: 8.641 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.004471, allocations: 0 / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004473, allocations: 1.344 kB / 0.6496 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.004478, allocations: 1.844 kB / 0.6496 GB, free: 37.61 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.0003267/0.004805, allocations: 346.6 kB / 0.6499 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.00485, allocations: 10.78 kB / 0.6499 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.004886, allocations: 3.312 kB / 0.6499 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.979e-05/0.004976, allocations: 114.9 kB / 0.6501 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.00499, allocations: 384 / 0.6501 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.005013, allocations: 3.312 kB / 0.6501 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.483e-05/0.005097, allocations: 50.64 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.005107, allocations: 192 / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-06/0.005114, allocations: 1.656 kB / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.005121, allocations: 384 / 0.6501 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.855e-05/0.005139, allocations: 11.53 kB / 0.6501 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.005595, allocations: 262.2 kB / 0.6504 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.822e-05/0.005643, allocations: 29.72 kB / 0.6504 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.005655, allocations: 7.688 kB / 0.6504 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.005664, allocations: 3.688 kB / 0.6504 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.005684, allocations: 33.39 kB / 0.6504 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.005686, allocations: 0 / 0.6504 GB, free: 36.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.005809, allocations: 44.55 kB / 0.6505 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.005836, allocations: 54.06 kB / 0.6505 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.005917, allocations: 167.3 kB / 0.6507 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.005925, allocations: 25.7 kB / 0.6507 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.005963, allocations: 126.9 kB / 0.6508 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.005975, allocations: 10.17 kB / 0.6508 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.006008, allocations: 16.88 kB / 0.6509 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.006071, allocations: 498.4 kB / 0.6513 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.006082, allocations: 3.062 kB / 0.6513 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.006103, allocations: 23.64 kB / 0.6514 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.006158, allocations: 31.28 kB / 0.6514 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006161, allocations: 2.219 kB / 0.6514 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.78e-05/0.006239, allocations: 40.3 kB / 0.6514 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.006257, allocations: 9.125 kB / 0.6514 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.006264, allocations: 0 / 0.6514 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.006279, allocations: 8.094 kB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.006333, allocations: 4.875 kB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006337, allocations: 1.312 kB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.006364, allocations: 11.52 kB / 0.6515 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.006369, allocations: 2.875 kB / 0.6515 GB, free: 35.64 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 0.000113/0.006482, allocations: 159.8 kB / 0.6516 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.006495, allocations: 2.344 kB / 0.6516 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.006517, allocations: 3.156 kB / 0.6516 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.00652, allocations: 5.25 kB / 0.6516 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006522, allocations: 0 / 0.6516 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006525, allocations: 0 / 0.6516 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.006781, allocations: 127 kB / 0.6518 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.006782, allocations: 0 / 0.6518 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.006812, allocations: 1.938 kB / 0.6518 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.006816, allocations: 1.312 kB / 0.6518 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.006828, allocations: 2.875 kB / 0.6518 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.006831, allocations: 7.688 kB / 0.6518 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006832, allocations: 0 / 0.6518 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.006946, allocations: 76.02 kB / 0.6518 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.00696, allocations: 1.688 kB / 0.6518 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.006973, allocations: 3.656 kB / 0.6518 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.548e-05/0.006999, allocations: 0 / 0.6518 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.007011, allocations: 3.156 kB / 0.6518 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.007015, allocations: 3.938 kB / 0.6519 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.737e-05/0.007042, allocations: 126.6 kB / 0.652 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8e-08/0.007042, allocations: 1.375 kB / 0.652 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001959/0.007238, allocations: 4.75 kB / 0.652 GB, free: 35.14 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 0.0001006/0.007339, allocations: 93.97 kB / 0.6521 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.007421, allocations: 27.75 kB / 0.6521 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.007423, allocations: 0 / 0.6521 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.007434, allocations: 11 kB / 0.6521 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.007637, allocations: 2.922 kB / 0.6521 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.008338, allocations: 173.6 kB / 0.6523 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.615e-05/0.008364, allocations: 62.09 kB / 0.6523 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.00839, allocations: 3.906 kB / 0.6523 GB, free: 34.81 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.008429, allocations: 69.27 kB / 0.6524 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of SimCode: time 8.42e-07/0.00843, allocations: 0 / 0.6524 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of Templates: time 0.002746/0.01118, allocations: 370.4 kB / 0.6528 GB, free: 34.69 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.658833160996437]