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.000708/0.000708, allocations: 76.17 kB / 9.906 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008511/0.001559, allocations: 439.8 kB / 10.34 MB, free: 360 kB / 10.45 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.0006769/0.0006769, allocations: 157.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008235/0.0015, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.069/1.069, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1181/1.187, allocations: 53.67 MB / 243.2 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.8455/0.8455, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04374/0.8892, allocations: 21.05 MB / 0.5432 GB, free: 31.93 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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 2.063e-06/2.063e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.555e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations): time 0.002206/0.002221, allocations: 1.39 MB / 0.5458 GB, free: 29.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.002382, allocations: 107.7 kB / 0.5459 GB, free: 29.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.0024, allocations: 0 / 0.5459 GB, free: 29.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.976e-06/0.002409, allocations: 0 / 0.5459 GB, free: 29.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.287e-05/0.002442, allocations: 7.938 kB / 0.5459 GB, free: 29.15 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.934e-05/0.002511, allocations: 19.86 kB / 0.5459 GB, free: 29.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.002574, allocations: 19.86 kB / 0.5459 GB, free: 29.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.002623, allocations: 4 kB / 0.5459 GB, free: 29.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.048e-05/0.002683, allocations: 7.984 kB / 0.5459 GB, free: 29.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.002815, allocations: 15.94 kB / 0.5459 GB, free: 29.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.00283, allocations: 0 / 0.5459 GB, free: 29.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.002839, allocations: 0 / 0.5459 GB, free: 29.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.002851, allocations: 0 / 0.5459 GB, free: 29.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.002873, allocations: 4 kB / 0.546 GB, free: 29.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.808e-05/0.002951, allocations: 11.98 kB / 0.546 GB, free: 29.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806e-05/0.002969, allocations: 7.938 kB / 0.546 GB, free: 29.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.00297, allocations: 0 / 0.546 GB, free: 29.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.002991, allocations: 0 / 0.546 GB, free: 29.06 MB / 410.7 MB 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.00036/0.003351, allocations: 224.7 kB / 0.5462 GB, free: 28.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.00339, allocations: 11.89 kB / 0.5462 GB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.003421, allocations: 4.938 kB / 0.5462 GB, free: 28.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.003497, allocations: 101.8 kB / 0.5463 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.00351, allocations: 8 kB / 0.5463 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.00353, allocations: 384 / 0.5463 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.89e-05/0.003609, allocations: 51.91 kB / 0.5464 GB, free: 28.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003617, allocations: 4.188 kB / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.003624, allocations: 384 / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.003632, allocations: 4.375 kB / 0.5464 GB, free: 28.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.603e-05/0.003658, allocations: 7.938 kB / 0.5464 GB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.003836, allocations: 147.5 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.157e-05/0.003898, allocations: 26.61 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.003911, allocations: 8.844 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-06/0.003918, allocations: 4.062 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.003939, allocations: 34.55 kB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.003939, allocations: 4 kB / 0.5466 GB, free: 28.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001088/0.004048, allocations: 41.62 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.004077, allocations: 55.34 kB / 0.5467 GB, free: 28.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.96e-05/0.004137, allocations: 102.7 kB / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.004144, allocations: 29.7 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.004173, allocations: 85.17 kB / 0.5469 GB, free: 27.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.004189, allocations: 11.89 kB / 0.5469 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.004217, allocations: 17.7 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.004257, allocations: 310.8 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.004267, allocations: 8.109 kB / 0.5472 GB, free: 27.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.004282, allocations: 17.72 kB / 0.5472 GB, free: 27.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.004322, allocations: 25.64 kB / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.004324, allocations: 0 / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.575e-05/0.00438, allocations: 45.69 kB / 0.5473 GB, free: 27.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.004392, allocations: 4 kB / 0.5473 GB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.004397, allocations: 0 / 0.5473 GB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.004408, allocations: 7.938 kB / 0.5473 GB, free: 27.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.004547, allocations: 15.88 kB / 0.5473 GB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.00455, allocations: 4.031 kB / 0.5473 GB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.004571, allocations: 0 / 0.5473 GB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.004575, allocations: 4 kB / 0.5473 GB, free: 27.49 MB / 410.7 MB 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 8.581e-05/0.004661, allocations: 113.8 kB / 0.5474 GB, free: 27.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.004669, allocations: 4 kB / 0.5474 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.004693, allocations: 9.828 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.004697, allocations: 3.938 kB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.0047, allocations: 0 / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.004704, allocations: 0 / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.986e-05/0.004763, allocations: 65.91 kB / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.004764, allocations: 0 / 0.5475 GB, free: 27.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.00483, allocations: 11.98 kB / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.004838, allocations: 0 / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00484, allocations: 0 / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.004854, allocations: 3.375 kB / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.004856, allocations: 3.938 kB / 0.5475 GB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.004858, allocations: 4 kB / 0.5475 GB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.004979, allocations: 65.02 kB / 0.5476 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.004993, allocations: 4.062 kB / 0.5476 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.005011, allocations: 4 kB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.298e-05/0.005024, allocations: 7.922 kB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.005027, allocations: 0 / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.561e-05/0.005042, allocations: 13.19 kB / 0.5476 GB, free: 27.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005042, allocations: 0 / 0.5476 GB, free: 27.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.326e-05/0.005136, allocations: 4 kB / 0.5476 GB, free: 27.14 MB / 410.7 MB 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.148e-05/0.005207, allocations: 76.56 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.005277, allocations: 24.77 kB / 0.5477 GB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.005282, allocations: 64 / 0.5477 GB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.005289, allocations: 16.84 kB / 0.5478 GB, free: 27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001127/0.005402, allocations: 4 kB / 0.5478 GB, free: 27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.006783, allocations: 173.1 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.816e-05/0.006801, allocations: 51.36 kB / 0.548 GB, free: 26.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.369e-05/0.006825, allocations: 3.984 kB / 0.548 GB, free: 26.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.006868, allocations: 59.39 kB / 0.548 GB, free: 26.67 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/0.006869, allocations: 0 / 0.548 GB, free: 26.67 MB / 410.7 MB Notification: Performance of Templates: time 0.00179/0.008659, allocations: 490.8 kB / 0.5485 GB, free: 26.2 MB / 410.7 MB " [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: 3.824843551032245]