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.001544/0.001544, allocations: 100.4 kB / 19.7 MB, free: 440 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.001179/0.001179, allocations: 211.3 kB / 23 MB, free: 2.969 MB / 13.93 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.9758/0.9758, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.746/1.746, allocations: 334.2 MB / 0.6323 GB, free: 7.992 MB / 442.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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 68.16 kB / 0.867 GB, free: 8.016 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1923, allocations: 112.8 MB / 0.9772 GB, free: 6.934 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001811/0.1941, allocations: 1.262 MB / 0.9784 GB, free: 5.664 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.1944, allocations: 91.73 kB / 0.9785 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.1944, allocations: 0 / 0.9785 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.1945, allocations: 0 / 0.9785 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.1945, allocations: 15.91 kB / 0.9785 GB, free: 5.559 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1947, allocations: 4 kB / 0.9785 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.1947, allocations: 19.92 kB / 0.9785 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.1948, allocations: 3.984 kB / 0.9786 GB, free: 5.531 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.1948, allocations: 4 kB / 0.9786 GB, free: 5.527 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.195, allocations: 15.94 kB / 0.9786 GB, free: 5.512 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.195, allocations: 0 / 0.9786 GB, free: 5.512 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.195, allocations: 0 / 0.9786 GB, free: 5.512 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.195, allocations: 11.91 kB / 0.9786 GB, free: 5.5 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.195, allocations: 4 kB / 0.9786 GB, free: 5.496 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 8.134e-05/0.1951, allocations: 11.88 kB / 0.9786 GB, free: 5.484 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1951, allocations: 0 / 0.9786 GB, free: 5.484 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1951, allocations: 0 / 0.9786 GB, free: 5.484 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.1951, allocations: 0 / 0.9786 GB, free: 5.484 MB / 0.6824 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.0004701/0.1956, allocations: 246.4 kB / 0.9788 GB, free: 5.211 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1956, allocations: 10.11 kB / 0.9788 GB, free: 5.203 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1957, allocations: 4.938 kB / 0.9788 GB, free: 5.199 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.039e-05/0.1958, allocations: 110.5 kB / 0.979 GB, free: 5.066 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1958, allocations: 384 / 0.979 GB, free: 5.066 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1958, allocations: 384 / 0.979 GB, free: 5.066 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1959, allocations: 51.97 kB / 0.979 GB, free: 5.004 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1959, allocations: 192 / 0.979 GB, free: 5.004 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1959, allocations: 3.938 kB / 0.979 GB, free: 5 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1959, allocations: 0 / 0.979 GB, free: 5 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.196, allocations: 7.938 kB / 0.979 GB, free: 4.992 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.1964, allocations: 217.5 kB / 0.9792 GB, free: 4.746 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.1965, allocations: 22.59 kB / 0.9792 GB, free: 4.715 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.1965, allocations: 8.859 kB / 0.9793 GB, free: 4.703 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.1965, allocations: 3.938 kB / 0.9793 GB, free: 4.699 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.1965, allocations: 38.56 kB / 0.9793 GB, free: 4.652 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.1965, allocations: 0 / 0.9793 GB, free: 4.652 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.1967, allocations: 29.7 kB / 0.9793 GB, free: 4.617 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1967, allocations: 51.41 kB / 0.9794 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.1968, allocations: 105.8 kB / 0.9795 GB, free: 4.441 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1968, allocations: 29.83 kB / 0.9795 GB, free: 4.406 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.1968, allocations: 84.09 kB / 0.9796 GB, free: 4.32 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.1968, allocations: 0 / 0.9796 GB, free: 4.32 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.1969, allocations: 17.72 kB / 0.9796 GB, free: 4.297 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.1969, allocations: 314.8 kB / 0.9799 GB, free: 3.98 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.197, allocations: 4 kB / 0.9799 GB, free: 3.977 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.943e-05/0.197, allocations: 17.66 kB / 0.9799 GB, free: 3.953 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1971, allocations: 34.38 kB / 0.9799 GB, free: 3.914 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1971, allocations: 4.031 kB / 0.98 GB, free: 3.91 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.493e-05/0.1971, allocations: 53.53 kB / 0.98 GB, free: 3.852 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1972, allocations: 8 kB / 0.98 GB, free: 3.844 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1972, allocations: 4 kB / 0.98 GB, free: 3.84 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1972, allocations: 0 / 0.98 GB, free: 3.84 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-05/0.1972, allocations: 7.984 kB / 0.98 GB, free: 3.832 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1972, allocations: 0 / 0.98 GB, free: 3.832 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.714e-05/0.1972, allocations: 4 kB / 0.98 GB, free: 3.828 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1972, allocations: 3.938 kB / 0.98 GB, free: 3.824 MB / 0.6824 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.0001297/0.1974, allocations: 113.9 kB / 0.9801 GB, free: 3.703 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-06/0.1974, allocations: 3.938 kB / 0.9801 GB, free: 3.699 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.1974, allocations: 7.109 kB / 0.9802 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1974, allocations: 0 / 0.9802 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1974, allocations: 0 / 0.9802 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1974, allocations: 4 kB / 0.9802 GB, free: 3.688 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.1976, allocations: 137.2 kB / 0.9803 GB, free: 3.523 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1976, allocations: 4 kB / 0.9803 GB, free: 3.52 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.1976, allocations: 3.938 kB / 0.9803 GB, free: 3.516 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1976, allocations: 7.938 kB / 0.9803 GB, free: 3.508 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1976, allocations: 240 / 0.9803 GB, free: 3.508 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1976, allocations: 0 / 0.9803 GB, free: 3.508 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1976, allocations: 4 kB / 0.9803 GB, free: 3.504 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.77e-05/0.1977, allocations: 61.12 kB / 0.9804 GB, free: 3.426 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.1977, allocations: 7.922 kB / 0.9804 GB, free: 3.418 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.1977, allocations: 4.031 kB / 0.9804 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.677e-06/0.1977, allocations: 0 / 0.9804 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.1978, allocations: 0 / 0.9804 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.1978, allocations: 0 / 0.9804 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 3.061e-05/0.1978, allocations: 87.38 kB / 0.9805 GB, free: 3.328 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.1978, allocations: 0 / 0.9805 GB, free: 3.328 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001349/0.1979, allocations: 4 kB / 0.9805 GB, free: 3.324 MB / 0.6824 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 8.987e-05/0.198, allocations: 97.62 kB / 0.9806 GB, free: 3.219 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 8.22e-05/0.1981, allocations: 11.94 kB / 0.9806 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1981, allocations: 0 / 0.9806 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 4.789e-06/0.1981, allocations: 4 kB / 0.9806 GB, free: 3.203 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.1983, allocations: 7.938 kB / 0.9806 GB, free: 3.195 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.1986, allocations: 206.7 kB / 0.9808 GB, free: 2.961 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.475e-05/0.1987, allocations: 55.36 kB / 0.9808 GB, free: 2.887 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.1987, allocations: 15.44 kB / 0.9808 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of SimCode: time 7.52e-07/0.1987, allocations: 0 / 0.9808 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of Templates: time 0.001458/0.2002, allocations: 487.7 kB / 0.9813 GB, free: 2.395 MB / 0.6824 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 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.173966625938192]