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.001477/0.001477, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.00144/0.00144, allocations: 177.3 kB / 23.36 MB, free: 1.137 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.9607/0.9607, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.606/1.606, allocations: 273.5 MB / 0.5212 GB, free: 14.64 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 1.062e-06/1.062e-06, allocations: 0 / 0.5954 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.263e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.0015/0.001513, allocations: 1.313 MB / 0.5967 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.001747, allocations: 87.78 kB / 0.5968 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.001767, allocations: 0 / 0.5968 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.001781, allocations: 3.938 kB / 0.5968 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.001831, allocations: 6.938 kB / 0.5968 GB, free: 1.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.001952, allocations: 11.98 kB / 0.5968 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.215e-05/0.001994, allocations: 13.25 kB / 0.5968 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.002031, allocations: 3.984 kB / 0.5968 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.002058, allocations: 9.312 kB / 0.5968 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.002162, allocations: 21.28 kB / 0.5968 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.002173, allocations: 0 / 0.5968 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-06/0.002178, allocations: 0 / 0.5968 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.002186, allocations: 0 / 0.5968 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.002199, allocations: 5.312 kB / 0.5968 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 4.214e-05/0.002241, allocations: 7.938 kB / 0.5968 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.002243, allocations: 3.938 kB / 0.5968 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.21e-07/0.002243, allocations: 0 / 0.5968 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.575e-06/0.002246, allocations: 0 / 0.5968 GB, free: 1.254 MB / 0.5105 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.0002182/0.002464, allocations: 216.8 kB / 0.5971 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.625e-05/0.00249, allocations: 8.031 kB / 0.5971 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.011e-05/0.00251, allocations: 8.922 kB / 0.5971 GB, free: 1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.648e-05/0.002577, allocations: 110.9 kB / 0.5972 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.002586, allocations: 4.375 kB / 0.5972 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.002605, allocations: 4.375 kB / 0.5972 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.906e-05/0.002664, allocations: 39.98 kB / 0.5972 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.00267, allocations: 192 / 0.5972 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-06/0.002675, allocations: 384 / 0.5972 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.00268, allocations: 384 / 0.5972 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.213e-05/0.002692, allocations: 19.86 kB / 0.5972 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.00297, allocations: 169.2 kB / 0.5974 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.731e-05/0.002997, allocations: 22.64 kB / 0.5974 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.909e-06/0.003007, allocations: 4.859 kB / 0.5974 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.003011, allocations: 1.422 kB / 0.5974 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.003029, allocations: 42.5 kB / 0.5975 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 5.91e-07/0.00303, allocations: 0 / 0.5975 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 6.965e-05/0.003099, allocations: 29.7 kB / 0.5975 GB, free: 496 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.003126, allocations: 59.45 kB / 0.5976 GB, free: 424 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.003177, allocations: 106.7 kB / 0.5977 GB, free: 304 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-06/0.003185, allocations: 29.7 kB / 0.5977 GB, free: 268 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.003217, allocations: 84.44 kB / 0.5978 GB, free: 180 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.003222, allocations: 0 / 0.5978 GB, free: 180 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.003245, allocations: 25.66 kB / 0.5978 GB, free: 148 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.00332, allocations: 314.8 kB / 0.5981 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-06/0.003326, allocations: 4 kB / 0.5981 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.003338, allocations: 13.66 kB / 0.5981 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.003368, allocations: 23.06 kB / 0.5981 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.003369, allocations: 0 / 0.5981 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.037e-05/0.00341, allocations: 41.62 kB / 0.5982 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.00342, allocations: 8 kB / 0.5982 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.003423, allocations: 0 / 0.5982 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.003434, allocations: 0 / 0.5982 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-05/0.00346, allocations: 11.92 kB / 0.5982 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.003462, allocations: 0 / 0.5982 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.478e-05/0.003477, allocations: 4 kB / 0.5982 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-06/0.00348, allocations: 0 / 0.5982 GB, free: 15.71 MB / 0.5261 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 7.785e-05/0.003558, allocations: 124.4 kB / 0.5983 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-06/0.003562, allocations: 0 / 0.5983 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.003577, allocations: 4.469 kB / 0.5983 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003579, allocations: 0 / 0.5983 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.003581, allocations: 3.938 kB / 0.5983 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.003585, allocations: 11.92 kB / 0.5983 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.003726, allocations: 93.88 kB / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.003726, allocations: 0 / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.003738, allocations: 4 kB / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.003739, allocations: 0 / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.003746, allocations: 0 / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.003747, allocations: 0 / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.003748, allocations: 4 kB / 0.5984 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.66e-05/0.003815, allocations: 69.05 kB / 0.5985 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-06/0.00382, allocations: 1.531 kB / 0.5985 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-06/0.003827, allocations: 0 / 0.5985 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.003835, allocations: 0 / 0.5985 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-06/0.003842, allocations: 4 kB / 0.5985 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.003844, allocations: 4.062 kB / 0.5985 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.083e-05/0.003855, allocations: 16.8 kB / 0.5985 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.003855, allocations: 0 / 0.5985 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 8.806e-05/0.003943, allocations: 7.938 kB / 0.5985 GB, free: 15.32 MB / 0.5261 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 5.666e-05/0.003999, allocations: 76.41 kB / 0.5986 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.189e-05/0.004041, allocations: 12.86 kB / 0.5986 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.004044, allocations: 0 / 0.5986 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.181e-06/0.00405, allocations: 4.859 kB / 0.5986 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.854e-05/0.004119, allocations: 13.98 kB / 0.5986 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.004555, allocations: 181.2 kB / 0.5988 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.442e-05/0.004579, allocations: 55.36 kB / 0.5989 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.004592, allocations: 0 / 0.5989 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.004624, allocations: 51.38 kB / 0.5989 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.004625, allocations: 0 / 0.5989 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.001521/0.006146, allocations: 354.1 kB / 0.5992 GB, free: 14.55 MB / 0.5261 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.41281069163233]