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.0009328/0.0009328, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009701/0.0009701, allocations: 173 kB / 23.5 MB, free: 1.051 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.9709/0.9709, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.623/1.623, allocations: 273.5 MB / 0.5213 GB, free: 14.86 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.543e-06/1.543e-06, allocations: 0 / 0.6462 GB, free: 39.11 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.568e-05, allocations: 3.75 kB / 0.6462 GB, free: 39.11 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.002122/0.002148, allocations: 1.309 MB / 0.6475 GB, free: 38.24 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.002432, allocations: 98.27 kB / 0.6476 GB, free: 38.19 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.002468, allocations: 1.438 kB / 0.6476 GB, free: 38.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.002491, allocations: 0 / 0.6476 GB, free: 38.19 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 7.24e-05/0.002564, allocations: 13.97 kB / 0.6476 GB, free: 38.18 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.002745, allocations: 10.66 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.002819, allocations: 21.17 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.954e-05/0.002859, allocations: 0.7188 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.226e-05/0.002901, allocations: 13.11 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.003065, allocations: 7.406 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.003081, allocations: 1 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.00309, allocations: 1.094 kB / 0.6476 GB, free: 38.17 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.003103, allocations: 7.891 kB / 0.6476 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.003134, allocations: 7.109 kB / 0.6477 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.873e-05/0.003203, allocations: 4.859 kB / 0.6477 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003205, allocations: 0.75 kB / 0.6477 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003206, allocations: 0 / 0.6477 GB, free: 38.16 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.003212, allocations: 2.062 kB / 0.6477 GB, free: 38.16 MB / 0.5262 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.000325/0.003537, allocations: 352.5 kB / 0.648 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.003585, allocations: 13.25 kB / 0.648 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.664e-05/0.003631, allocations: 3.031 kB / 0.648 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.958e-05/0.003731, allocations: 113.7 kB / 0.6481 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.003746, allocations: 384 / 0.6481 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.003772, allocations: 2.594 kB / 0.6481 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.003892, allocations: 53.64 kB / 0.6482 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.003902, allocations: 1.609 kB / 0.6482 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.003912, allocations: 2.438 kB / 0.6482 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.003923, allocations: 1.406 kB / 0.6482 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.548e-05/0.003958, allocations: 11.81 kB / 0.6482 GB, free: 37.59 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.004235, allocations: 246.7 kB / 0.6484 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.917e-05/0.004314, allocations: 35.19 kB / 0.6485 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.004336, allocations: 10.56 kB / 0.6485 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.00435, allocations: 3.469 kB / 0.6485 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.004373, allocations: 38.95 kB / 0.6485 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.004374, allocations: 1.125 kB / 0.6485 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.004532, allocations: 44.11 kB / 0.6486 GB, free: 37.19 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.004564, allocations: 53.62 kB / 0.6486 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.139e-05/0.004645, allocations: 166.2 kB / 0.6488 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.004654, allocations: 27.23 kB / 0.6488 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.004703, allocations: 140.4 kB / 0.6489 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.081e-05/0.004714, allocations: 3.953 kB / 0.6489 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.00475, allocations: 28.7 kB / 0.649 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.004826, allocations: 493.6 kB / 0.6494 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.004843, allocations: 1.531 kB / 0.6494 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.004866, allocations: 22.69 kB / 0.6495 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.203e-05/0.004928, allocations: 34.03 kB / 0.6495 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.004931, allocations: 0 / 0.6495 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.969e-05/0.00502, allocations: 51.39 kB / 0.6495 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.00504, allocations: 5.531 kB / 0.6495 GB, free: 36.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.005047, allocations: 4.969 kB / 0.6495 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.005069, allocations: 2.469 kB / 0.6495 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.005149, allocations: 5.031 kB / 0.6495 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.005157, allocations: 2.672 kB / 0.6496 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.462e-05/0.005182, allocations: 5.219 kB / 0.6496 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.005187, allocations: 2.688 kB / 0.6496 GB, free: 36.16 MB / 0.5262 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.000128/0.005315, allocations: 160.2 kB / 0.6497 GB, free: 36 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.005326, allocations: 6.328 kB / 0.6497 GB, free: 36 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.005352, allocations: 15.19 kB / 0.6497 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.005355, allocations: 1.969 kB / 0.6497 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.005359, allocations: 1.375 kB / 0.6497 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.005362, allocations: 0 / 0.6497 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.052e-05/0.005433, allocations: 114.4 kB / 0.6498 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.005435, allocations: 2.188 kB / 0.6498 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.005484, allocations: 4.406 kB / 0.6499 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005487, allocations: 2.438 kB / 0.6499 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.005502, allocations: 0 / 0.6499 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.005504, allocations: 5.25 kB / 0.6499 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.005505, allocations: 0 / 0.6499 GB, free: 35.84 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.005636, allocations: 77.52 kB / 0.6499 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.005646, allocations: 2.25 kB / 0.6499 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.005661, allocations: 2.031 kB / 0.6499 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.439e-05/0.005675, allocations: 3.938 kB / 0.6499 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.005698, allocations: 9.922 kB / 0.65 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.005702, allocations: 7.938 kB / 0.65 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.005732, allocations: 122.6 kB / 0.6501 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.1e-08/0.005732, allocations: 0 / 0.6501 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002063/0.005939, allocations: 6.844 kB / 0.6501 GB, free: 35.63 MB / 0.5262 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.281e-05/0.006022, allocations: 92.69 kB / 0.6502 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 9.478e-05/0.006116, allocations: 23.91 kB / 0.6502 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.006118, allocations: 2.812 kB / 0.6502 GB, free: 35.53 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.006132, allocations: 14.81 kB / 0.6502 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.006356, allocations: 7.828 kB / 0.6502 GB, free: 35.51 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.007269, allocations: 208.8 kB / 0.6504 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.364e-05/0.007313, allocations: 65.03 kB / 0.6505 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.007341, allocations: 8.5 kB / 0.6505 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of SimCode: time 9.12e-07/0.007342, allocations: 1.469 kB / 0.6505 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of Templates: time 0.001921/0.009263, allocations: 0.5172 MB / 0.651 GB, free: 35.25 MB / 0.5262 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: 6.27051944588311]