Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.0008966/0.0008966, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009531/0.0009531, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.622/1.622, allocations: 273.5 MB / 0.5213 GB, free: 14.59 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.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 3.984 kB / 0.5954 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.882e-05, allocations: 5.266 kB / 0.5954 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002445/0.002473, allocations: 1.585 MB / 0.597 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0005589/0.003032, allocations: 327.7 kB / 0.5973 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.003067, allocations: 0 / 0.5973 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.003329, allocations: 58.27 kB / 0.5974 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.003401, allocations: 21.28 kB / 0.5974 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.003675, allocations: 98.42 kB / 0.5975 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.182e-05/0.003767, allocations: 51.62 kB / 0.5975 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.003811, allocations: 7.984 kB / 0.5975 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/0.003874, allocations: 26.59 kB / 0.5976 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.003968, allocations: 16.03 kB / 0.5976 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003982, allocations: 4 kB / 0.5976 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.004233, allocations: 148 kB / 0.5977 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.004292, allocations: 19.92 kB / 0.5977 GB, free: 356 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.004329, allocations: 14.73 kB / 0.5977 GB, free: 344 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.004595, allocations: 175.8 kB / 0.5979 GB, free: 184 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004597, allocations: 0 / 0.5979 GB, free: 184 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004599, allocations: 0 / 0.5979 GB, free: 184 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004603, allocations: 0 / 0.5979 GB, free: 184 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003464/0.004949, allocations: 276.6 kB / 0.5982 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.004988, allocations: 9.234 kB / 0.5982 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.005145, allocations: 32.91 kB / 0.5982 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.00524, allocations: 129.2 kB / 0.5983 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.005253, allocations: 4.312 kB / 0.5983 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.005268, allocations: 8.328 kB / 0.5984 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.005378, allocations: 79.48 kB / 0.5984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005388, allocations: 4.125 kB / 0.5984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.005396, allocations: 384 / 0.5984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005402, allocations: 384 / 0.5984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.329e-05/0.005435, allocations: 25.58 kB / 0.5985 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.005762, allocations: 293 kB / 0.5987 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.005894, allocations: 91.75 kB / 0.5988 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.005915, allocations: 16.86 kB / 0.5988 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.00592, allocations: 0 / 0.5988 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.005942, allocations: 34.56 kB / 0.5989 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.005943, allocations: 0 / 0.5989 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0001578/0.006101, allocations: 85.59 kB / 0.599 GB, free: 15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.00613, allocations: 51.41 kB / 0.599 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006232, allocations: 168.2 kB / 0.5992 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.006243, allocations: 25.7 kB / 0.5992 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.006276, allocations: 92.08 kB / 0.5993 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.006297, allocations: 19.83 kB / 0.5993 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.006329, allocations: 27.12 kB / 0.5993 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.64e-05/0.006416, allocations: 322.8 kB / 0.5996 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.006435, allocations: 14.83 kB / 0.5996 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.006458, allocations: 25.2 kB / 0.5997 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.091e-05/0.006539, allocations: 55.34 kB / 0.5997 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.006542, allocations: 0 / 0.5997 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001153/0.006657, allocations: 80.44 kB / 0.5998 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.006671, allocations: 4 kB / 0.5998 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.006678, allocations: 4 kB / 0.5998 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.006696, allocations: 7.969 kB / 0.5998 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.00676, allocations: 15.92 kB / 0.5998 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.796e-06/0.006763, allocations: 0 / 0.5998 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.006786, allocations: 11.95 kB / 0.5998 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.006833, allocations: 20.62 kB / 0.5999 GB, free: 14.01 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 ) 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: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001154/0.006949, allocations: 112.7 kB / 0.6 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.006989, allocations: 23.89 kB / 0.6 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.007021, allocations: 15.72 kB / 0.6 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.007024, allocations: 7.938 kB / 0.6 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.007026, allocations: 0 / 0.6 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00703, allocations: 5.297 kB / 0.6 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.007135, allocations: 85.88 kB / 0.6001 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.007138, allocations: 4 kB / 0.6001 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.007183, allocations: 8 kB / 0.6001 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.007185, allocations: 4 kB / 0.6001 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.00719, allocations: 0 / 0.6001 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007192, allocations: 0 / 0.6001 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007193, allocations: 0 / 0.6001 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.007374, allocations: 234.1 kB / 0.6003 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.007388, allocations: 23.33 kB / 0.6004 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.007397, allocations: 0 / 0.6004 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.007431, allocations: 7.688 kB / 0.6004 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.007443, allocations: 1.312 kB / 0.6004 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.007465, allocations: 27.91 kB / 0.6004 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.007505, allocations: 46.06 kB / 0.6004 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007505, allocations: 0 / 0.6004 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001693/0.007674, allocations: 27.98 kB / 0.6005 GB, free: 13.35 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 (5): * Single equations (assignments): 5 * 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 0.0001991/0.007873, allocations: 120.2 kB / 0.6006 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.007965, allocations: 44.84 kB / 0.6006 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.007969, allocations: 0 / 0.6006 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.007991, allocations: 28.77 kB / 0.6006 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.008156, allocations: 13.36 kB / 0.6007 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00078/0.008936, allocations: 274 kB / 0.6009 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.008988, allocations: 67.28 kB / 0.601 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.699e-05/0.009065, allocations: 59.89 kB / 0.601 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.00912, allocations: 55.38 kB / 0.6011 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/0.009121, allocations: 0 / 0.6011 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.003685/0.01281, allocations: 1.508 MB / 0.6026 GB, free: 11.19 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.621938421390951]