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.0009058/0.0009058, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001035/0.001035, allocations: 181 kB / 23.36 MB, free: 1.133 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.9542/0.9542, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.93/1.93, allocations: 273.5 MB / 0.5213 GB, free: 14.7 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_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: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 1.422 kB / 0.5954 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.453e-05, allocations: 5.266 kB / 0.5954 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.00234/0.002364, allocations: 1.334 MB / 0.5967 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002153/0.002579, allocations: 97.02 kB / 0.5968 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.002594, allocations: 0 / 0.5968 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.538e-06/0.002603, allocations: 0 / 0.5968 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.002644, allocations: 6.609 kB / 0.5968 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.002747, allocations: 7.938 kB / 0.5968 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.819e-05/0.002795, allocations: 26.86 kB / 0.5968 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 2.417e-05/0.002819, allocations: 5.422 kB / 0.5968 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.211e-05/0.002842, allocations: 8 kB / 0.5968 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.002945, allocations: 9.406 kB / 0.5968 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.002955, allocations: 4 kB / 0.5968 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.00296, allocations: 0 / 0.5968 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.762e-06/0.002967, allocations: 0 / 0.5968 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.404e-05/0.002981, allocations: 9.312 kB / 0.5969 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 4.056e-05/0.003021, allocations: 15.91 kB / 0.5969 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.343e-06/0.003023, allocations: 0 / 0.5969 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003023, allocations: 0 / 0.5969 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.354e-06/0.003026, allocations: 0 / 0.5969 GB, free: 1.289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000194/0.00322, allocations: 226.2 kB / 0.5971 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.003246, allocations: 8.031 kB / 0.5971 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.702e-05/0.003263, allocations: 0.9375 kB / 0.5971 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.243e-05/0.003325, allocations: 109.7 kB / 0.5972 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-06/0.003331, allocations: 384 / 0.5972 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.003344, allocations: 8.375 kB / 0.5972 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.441e-05/0.003399, allocations: 47.95 kB / 0.5973 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.849e-06/0.003403, allocations: 192 / 0.5973 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-06/0.003407, allocations: 384 / 0.5973 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-06/0.00341, allocations: 384 / 0.5973 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.003433, allocations: 19.86 kB / 0.5973 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.003573, allocations: 145.2 kB / 0.5974 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.118e-05/0.003614, allocations: 18.67 kB / 0.5974 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.035e-05/0.003624, allocations: 8.859 kB / 0.5974 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.003629, allocations: 1.203 kB / 0.5974 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.003648, allocations: 34.56 kB / 0.5975 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.003648, allocations: 0 / 0.5975 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 6.226e-05/0.003711, allocations: 41.62 kB / 0.5975 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.003737, allocations: 55.34 kB / 0.5976 GB, free: 472 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.677e-05/0.003794, allocations: 111.2 kB / 0.5977 GB, free: 348 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.003805, allocations: 25.7 kB / 0.5977 GB, free: 316 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.003844, allocations: 88.09 kB / 0.5978 GB, free: 224 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.003853, allocations: 7.953 kB / 0.5978 GB, free: 216 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.003878, allocations: 13.72 kB / 0.5978 GB, free: 196 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.003988, allocations: 318.8 kB / 0.5981 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-06/0.003993, allocations: 1.75 kB / 0.5981 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.004007, allocations: 13.72 kB / 0.5981 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.004043, allocations: 28.97 kB / 0.5981 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004044, allocations: 4 kB / 0.5982 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.296e-05/0.004097, allocations: 49.62 kB / 0.5982 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.00411, allocations: 10.66 kB / 0.5982 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.004113, allocations: 0 / 0.5982 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/0.004119, allocations: 0 / 0.5982 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.431e-05/0.004153, allocations: 7.938 kB / 0.5982 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.004158, allocations: 4 kB / 0.5982 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.004178, allocations: 3.938 kB / 0.5982 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-06/0.004181, allocations: 0 / 0.5982 GB, free: 15.74 MB / 0.5261 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 9.094e-05/0.004272, allocations: 113.9 kB / 0.5983 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.00428, allocations: 3.984 kB / 0.5983 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.004298, allocations: 11.31 kB / 0.5983 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.004299, allocations: 0 / 0.5983 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.004303, allocations: 8.391 kB / 0.5984 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004306, allocations: 0 / 0.5984 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.18e-05/0.004368, allocations: 65.89 kB / 0.5984 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.004368, allocations: 0 / 0.5984 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.589e-05/0.004394, allocations: 4 kB / 0.5984 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.004396, allocations: 3.984 kB / 0.5984 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.004402, allocations: 4 kB / 0.5984 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004402, allocations: 0 / 0.5984 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.004403, allocations: 3.938 kB / 0.5984 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.324e-05/0.004486, allocations: 73.02 kB / 0.5985 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.004494, allocations: 4 kB / 0.5985 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.516e-06/0.004502, allocations: 1.312 kB / 0.5985 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.004514, allocations: 0 / 0.5985 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.004524, allocations: 0 / 0.5985 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.004527, allocations: 4 kB / 0.5985 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.312e-05/0.00454, allocations: 16.78 kB / 0.5985 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.00454, allocations: 4.062 kB / 0.5985 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001701/0.00471, allocations: 4 kB / 0.5985 GB, free: 15.38 MB / 0.5261 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 7.35e-05/0.004784, allocations: 76.42 kB / 0.5986 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.52e-05/0.004839, allocations: 20.12 kB / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.004842, allocations: 0 / 0.5986 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.004852, allocations: 8.859 kB / 0.5986 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.772e-05/0.004949, allocations: 11.98 kB / 0.5986 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.005623, allocations: 181.7 kB / 0.5988 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.005657, allocations: 55.34 kB / 0.5989 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.005679, allocations: 4 kB / 0.5989 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.005723, allocations: 51.38 kB / 0.5989 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/0.005723, allocations: 0 / 0.5989 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.002162/0.007885, allocations: 436.6 kB / 0.5993 GB, free: 14.5 MB / 0.5261 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.956910066306591]