Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.0008897/0.0008897, allocations: 104.3 kB / 19.71 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.0008957/0.0008957, allocations: 214.6 kB / 23 MB, free: 2.977 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 1.052/1.052, 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.787/1.787, allocations: 334.2 MB / 0.6323 GB, free: 7.98 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_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [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.001515/0.001515, allocations: 68.81 kB / 0.867 GB, free: 8.023 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1918, allocations: 112.8 MB / 0.9772 GB, free: 6.949 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002227/0.1941, allocations: 1.675 MB / 0.9788 GB, free: 5.262 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0002753/0.1943, allocations: 79.7 kB / 0.9789 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.1944, allocations: 0 / 0.9789 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.1945, allocations: 11.86 kB / 0.9789 GB, free: 5.172 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 9.675e-05/0.1946, allocations: 27.84 kB / 0.9789 GB, free: 5.145 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.1947, allocations: 19.92 kB / 0.979 GB, free: 5.125 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1948, allocations: 87.64 kB / 0.979 GB, free: 5.039 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.195, allocations: 8.188 kB / 0.9791 GB, free: 5.031 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.195, allocations: 27.86 kB / 0.9791 GB, free: 5.004 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.1951, allocations: 23.92 kB / 0.9791 GB, free: 4.98 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1951, allocations: 11.94 kB / 0.9791 GB, free: 4.969 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.1951, allocations: 4 kB / 0.9791 GB, free: 4.965 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/0.1951, allocations: 23.91 kB / 0.9791 GB, free: 4.941 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.1952, allocations: 23.88 kB / 0.9792 GB, free: 4.918 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.1953, allocations: 75.73 kB / 0.9792 GB, free: 4.844 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1953, allocations: 0 / 0.9792 GB, free: 4.844 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1953, allocations: 0 / 0.9792 GB, free: 4.844 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1953, allocations: 0 / 0.9792 GB, free: 4.844 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000422/0.1957, allocations: 315.8 kB / 0.9795 GB, free: 4.5 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1958, allocations: 14.11 kB / 0.9796 GB, free: 4.488 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.1958, allocations: 8.891 kB / 0.9796 GB, free: 4.48 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1959, allocations: 122.5 kB / 0.9797 GB, free: 4.336 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.1959, allocations: 4.375 kB / 0.9797 GB, free: 4.332 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.196, allocations: 12.34 kB / 0.9797 GB, free: 4.32 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1961, allocations: 111.2 kB / 0.9798 GB, free: 4.199 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1961, allocations: 0 / 0.9798 GB, free: 4.199 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1961, allocations: 4 kB / 0.9798 GB, free: 4.195 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.1961, allocations: 7.938 kB / 0.9798 GB, free: 4.188 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.1962, allocations: 73.66 kB / 0.9799 GB, free: 4.109 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1966, allocations: 256.4 kB / 0.9801 GB, free: 3.828 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1967, allocations: 96.2 kB / 0.9802 GB, free: 3.719 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.1967, allocations: 54.55 kB / 0.9803 GB, free: 3.656 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.1967, allocations: 0 / 0.9803 GB, free: 3.656 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.1969, allocations: 172.6 kB / 0.9804 GB, free: 3.457 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.1969, allocations: 0 / 0.9804 GB, free: 3.457 MB / 0.6824 GB Notification: Performance of matching and sorting (n=13): time 0.0006896/0.1976, allocations: 0.494 MB / 0.9809 GB, free: 2.898 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1976, allocations: 132.5 kB / 0.981 GB, free: 2.738 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.1977, allocations: 105.8 kB / 0.9811 GB, free: 2.625 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1977, allocations: 29.7 kB / 0.9812 GB, free: 2.59 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.1977, allocations: 96.02 kB / 0.9813 GB, free: 2.492 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.1978, allocations: 39.69 kB / 0.9813 GB, free: 2.453 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.1978, allocations: 33.7 kB / 0.9813 GB, free: 2.414 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.1979, allocations: 326.8 kB / 0.9816 GB, free: 2.086 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.763e-05/0.1979, allocations: 62.78 kB / 0.9817 GB, free: 2.012 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.198, allocations: 93.92 kB / 0.9818 GB, free: 1.898 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.1983, allocations: 266.3 kB / 0.982 GB, free: 1.602 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1983, allocations: 256 / 0.9821 GB, free: 1.602 MB / 0.6824 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001805/0.1984, allocations: 204.9 kB / 0.9822 GB, free: 1.383 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.1985, allocations: 29.7 kB / 0.9823 GB, free: 1.348 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1985, allocations: 8 kB / 0.9823 GB, free: 1.34 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1985, allocations: 0 / 0.9823 GB, free: 1.34 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.1986, allocations: 23.98 kB / 0.9823 GB, free: 1.316 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1986, allocations: 7.938 kB / 0.9823 GB, free: 1.309 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1986, allocations: 7.938 kB / 0.9823 GB, free: 1.301 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1987, allocations: 8 kB / 0.9823 GB, free: 1.293 MB / 0.6824 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001463/0.1988, allocations: 168.2 kB / 0.9825 GB, free: 1.113 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.1988, allocations: 11.89 kB / 0.9825 GB, free: 1.102 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.1988, allocations: 8.438 kB / 0.9825 GB, free: 1.09 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1988, allocations: 4 kB / 0.9825 GB, free: 1.086 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1988, allocations: 0 / 0.9825 GB, free: 1.086 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1988, allocations: 7.922 kB / 0.9825 GB, free: 1.078 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.1992, allocations: 409.6 kB / 0.9829 GB, free: 0.6289 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1992, allocations: 4 kB / 0.9829 GB, free: 0.625 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.2e-05/0.1993, allocations: 15.98 kB / 0.9829 GB, free: 0.6094 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1993, allocations: 4 kB / 0.9829 GB, free: 0.6055 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1993, allocations: 3.984 kB / 0.9829 GB, free: 0.6016 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1993, allocations: 3.938 kB / 0.9829 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1993, allocations: 0 / 0.9829 GB, free: 0.5977 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1997, allocations: 362.5 kB / 0.9833 GB, free: 216 kB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.1997, allocations: 7.891 kB / 0.9833 GB, free: 208 kB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1997, allocations: 4 kB / 0.9833 GB, free: 204 kB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.1997, allocations: 11.97 kB / 0.9833 GB, free: 192 kB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1998, allocations: 11.98 kB / 0.9833 GB, free: 180 kB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1998, allocations: 4 kB / 0.9833 GB, free: 176 kB / 0.6824 GB Notification: Performance of sorting global known variables: time 3.22e-05/0.1998, allocations: 83.28 kB / 0.9834 GB, free: 92 kB / 0.6824 GB Notification: Performance of sort global known variables: time 7e-08/0.1998, allocations: 0 / 0.9834 GB, free: 92 kB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001668/0.2, allocations: 28 kB / 0.9834 GB, free: 64 kB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 9.979e-05/0.2001, allocations: 105.6 kB / 0.9835 GB, free: 15.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2003, allocations: 201.7 kB / 0.9837 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2003, allocations: 0 / 0.9837 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.2004, allocations: 137.3 kB / 0.9839 GB, free: 15.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2006, allocations: 28.48 kB / 0.9839 GB, free: 15.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.2012, allocations: 465.7 kB / 0.9843 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.2013, allocations: 75.33 kB / 0.9844 GB, free: 14.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.2013, allocations: 19.44 kB / 0.9844 GB, free: 14.95 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.2013, allocations: 0 / 0.9844 GB, free: 14.95 MB / 0.698 GB Notification: Performance of Templates: time 0.002247/0.2035, allocations: 1.232 MB / 0.9856 GB, free: 13.72 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.488938400987536]