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.0009223/0.0009223, 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.0009518/0.0009518, allocations: 215.3 kB / 23 MB, free: 2.945 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.13/1.13, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.78/1.78, allocations: 334.3 MB / 0.6323 GB, free: 7.953 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_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: 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.001752/0.001752, allocations: 67.88 kB / 0.867 GB, free: 8.023 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2117, allocations: 112.8 MB / 0.9772 GB, free: 6.938 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.001942/0.2136, allocations: 1.274 MB / 0.9784 GB, free: 5.656 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.214, allocations: 103.7 kB / 0.9785 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.214, allocations: 0 / 0.9785 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.214, allocations: 0 / 0.9785 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.2141, allocations: 7.922 kB / 0.9785 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.2143, allocations: 11.98 kB / 0.9786 GB, free: 5.535 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.2143, allocations: 23.86 kB / 0.9786 GB, free: 5.512 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.2144, allocations: 0 / 0.9786 GB, free: 5.512 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.2144, allocations: 4 kB / 0.9786 GB, free: 5.508 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2146, allocations: 19.92 kB / 0.9786 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2146, allocations: 0 / 0.9786 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.2146, allocations: 0 / 0.9786 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.2146, allocations: 3.984 kB / 0.9786 GB, free: 5.484 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.2146, allocations: 4 kB / 0.9786 GB, free: 5.48 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 7.879e-05/0.2147, allocations: 11.94 kB / 0.9786 GB, free: 5.469 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2147, allocations: 0 / 0.9786 GB, free: 5.469 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2147, allocations: 3.938 kB / 0.9786 GB, free: 5.465 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2147, allocations: 0 / 0.9786 GB, free: 5.465 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003601/0.2151, allocations: 246.4 kB / 0.9789 GB, free: 5.191 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.2151, allocations: 14.11 kB / 0.9789 GB, free: 5.18 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.2151, allocations: 4.891 kB / 0.9789 GB, free: 5.176 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.085e-05/0.2152, allocations: 114.5 kB / 0.979 GB, free: 5.039 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2152, allocations: 384 / 0.979 GB, free: 5.039 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.2153, allocations: 384 / 0.979 GB, free: 5.039 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2154, allocations: 55.91 kB / 0.979 GB, free: 4.973 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2154, allocations: 192 / 0.979 GB, free: 4.973 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.2154, allocations: 7.922 kB / 0.979 GB, free: 4.965 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2154, allocations: 0 / 0.979 GB, free: 4.965 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.292e-05/0.2154, allocations: 4 kB / 0.979 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.2157, allocations: 185.5 kB / 0.9792 GB, free: 4.746 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.2158, allocations: 38.53 kB / 0.9793 GB, free: 4.699 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.2158, allocations: 9.672 kB / 0.9793 GB, free: 4.688 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.2158, allocations: 3.938 kB / 0.9793 GB, free: 4.684 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2158, allocations: 34.56 kB / 0.9793 GB, free: 4.641 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2158, allocations: 0 / 0.9793 GB, free: 4.641 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2): time 0.000137/0.216, allocations: 45.62 kB / 0.9794 GB, free: 4.59 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.216, allocations: 51.41 kB / 0.9794 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.2161, allocations: 97.86 kB / 0.9795 GB, free: 4.422 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.2161, allocations: 29.77 kB / 0.9795 GB, free: 4.387 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.2161, allocations: 92.09 kB / 0.9796 GB, free: 4.293 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.2161, allocations: 15.88 kB / 0.9796 GB, free: 4.277 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.2162, allocations: 13.72 kB / 0.9796 GB, free: 4.258 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.2162, allocations: 314.8 kB / 0.9799 GB, free: 3.941 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.2163, allocations: 4 kB / 0.9799 GB, free: 3.938 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.2163, allocations: 17.7 kB / 0.98 GB, free: 3.914 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.2164, allocations: 33.66 kB / 0.98 GB, free: 3.875 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2164, allocations: 0 / 0.98 GB, free: 3.875 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.571e-05/0.2165, allocations: 57.62 kB / 0.98 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2165, allocations: 4 kB / 0.9801 GB, free: 3.809 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2165, allocations: 0 / 0.9801 GB, free: 3.809 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2165, allocations: 0 / 0.9801 GB, free: 3.809 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.2166, allocations: 15.92 kB / 0.9801 GB, free: 3.793 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2166, allocations: 0 / 0.9801 GB, free: 3.793 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.2166, allocations: 0 / 0.9801 GB, free: 3.793 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2166, allocations: 4 kB / 0.9801 GB, free: 3.789 MB / 0.6824 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 0.0002154/0.2168, allocations: 117.8 kB / 0.9802 GB, free: 3.664 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-06/0.2169, allocations: 11.97 kB / 0.9802 GB, free: 3.652 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2169, allocations: 11.2 kB / 0.9802 GB, free: 3.641 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2169, allocations: 336 / 0.9802 GB, free: 3.641 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2169, allocations: 0 / 0.9802 GB, free: 3.641 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2169, allocations: 3.984 kB / 0.9802 GB, free: 3.637 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.314e-05/0.217, allocations: 101.3 kB / 0.9803 GB, free: 3.508 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.217, allocations: 0 / 0.9803 GB, free: 3.508 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.217, allocations: 7.984 kB / 0.9803 GB, free: 3.5 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.217, allocations: 3.938 kB / 0.9803 GB, free: 3.496 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.217, allocations: 0 / 0.9803 GB, free: 3.496 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.217, allocations: 0 / 0.9803 GB, free: 3.496 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.217, allocations: 4 kB / 0.9803 GB, free: 3.492 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.2171, allocations: 73.06 kB / 0.9804 GB, free: 3.402 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.2172, allocations: 3.938 kB / 0.9804 GB, free: 3.398 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.2172, allocations: 3.984 kB / 0.9804 GB, free: 3.395 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-06/0.2172, allocations: 4.031 kB / 0.9804 GB, free: 3.391 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.2172, allocations: 0 / 0.9804 GB, free: 3.391 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2172, allocations: 4 kB / 0.9804 GB, free: 3.387 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.2172, allocations: 83.22 kB / 0.9805 GB, free: 3.305 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.2172, allocations: 0 / 0.9805 GB, free: 3.305 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001203/0.2173, allocations: 4 kB / 0.9805 GB, free: 3.301 MB / 0.6824 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 8.086e-05/0.2174, allocations: 97.73 kB / 0.9806 GB, free: 3.195 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.2175, allocations: 23.92 kB / 0.9806 GB, free: 3.172 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2175, allocations: 0 / 0.9806 GB, free: 3.172 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.2175, allocations: 4 kB / 0.9806 GB, free: 3.168 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.2177, allocations: 4 kB / 0.9806 GB, free: 3.164 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.2181, allocations: 215.5 kB / 0.9808 GB, free: 2.922 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.261e-05/0.2181, allocations: 59.3 kB / 0.9809 GB, free: 2.844 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.2181, allocations: 11.44 kB / 0.9809 GB, free: 2.832 MB / 0.6824 GB Notification: Performance of SimCode: time 7.01e-07/0.2181, allocations: 0 / 0.9809 GB, free: 2.832 MB / 0.6824 GB Notification: Performance of Templates: time 0.001561/0.2197, allocations: 0.5036 MB / 0.9814 GB, free: 2.328 MB / 0.6824 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 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.352977642090991]