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.0008554/0.0008554, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00115/0.002006, allocations: 435.8 kB / 10.33 MB, free: 368 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.00119/0.00119, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002896, 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.042/1.042, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.153, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8076/0.8076, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03612/0.8438, allocations: 21.04 MB / 0.5431 GB, free: 31.97 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_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 2.034e-06/2.034e-06, allocations: 0 / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.758e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001469/0.001487, allocations: 1.381 MB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001316/0.001618, allocations: 95.72 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.001636, allocations: 0 / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.206e-06/0.001644, allocations: 0 / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.248e-05/0.001676, allocations: 11.91 kB / 0.5459 GB, free: 29.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.437e-05/0.001731, allocations: 11.88 kB / 0.5459 GB, free: 29.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.463e-05/0.001785, allocations: 15.94 kB / 0.5459 GB, free: 29.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.001828, allocations: 11.92 kB / 0.5459 GB, free: 29.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.004e-05/0.001888, allocations: 8 kB / 0.5459 GB, free: 29.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.002013, allocations: 7.984 kB / 0.5459 GB, free: 29.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.002028, allocations: 0 / 0.5459 GB, free: 29.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-06/0.002036, allocations: 0 / 0.5459 GB, free: 29.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.002047, allocations: 4 kB / 0.5459 GB, free: 29.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.002066, allocations: 3.938 kB / 0.5459 GB, free: 29.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.231e-05/0.002129, allocations: 7.984 kB / 0.5459 GB, free: 29.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-05/0.002144, allocations: 4 kB / 0.5459 GB, free: 29.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002144, allocations: 0 / 0.5459 GB, free: 29.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.002158, allocations: 0 / 0.5459 GB, free: 29.12 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002922/0.00245, allocations: 220.7 kB / 0.5461 GB, free: 28.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.002482, allocations: 15.89 kB / 0.5461 GB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.002506, allocations: 0.9375 kB / 0.5462 GB, free: 28.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.183e-05/0.002568, allocations: 109.8 kB / 0.5463 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.002576, allocations: 384 / 0.5463 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.002593, allocations: 384 / 0.5463 GB, free: 28.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.529e-05/0.002659, allocations: 47.91 kB / 0.5463 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.002665, allocations: 192 / 0.5463 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.002671, allocations: 384 / 0.5463 GB, free: 28.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002676, allocations: 8.375 kB / 0.5463 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.394e-05/0.002689, allocations: 3.938 kB / 0.5463 GB, free: 28.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.003006, allocations: 187.5 kB / 0.5465 GB, free: 28.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.836e-05/0.003045, allocations: 14.58 kB / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.003058, allocations: 8.953 kB / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-06/0.003065, allocations: 0 / 0.5465 GB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.003086, allocations: 34.55 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.003087, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.887e-05/0.003186, allocations: 37.73 kB / 0.5466 GB, free: 28.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.003214, allocations: 59.38 kB / 0.5466 GB, free: 28.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.818e-05/0.003263, allocations: 102.7 kB / 0.5467 GB, free: 28.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.49e-06/0.003268, allocations: 25.7 kB / 0.5468 GB, free: 28.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.715e-05/0.003295, allocations: 92.02 kB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.003307, allocations: 4 kB / 0.5469 GB, free: 28.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.003325, allocations: 13.72 kB / 0.5469 GB, free: 28.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.00336, allocations: 314.8 kB / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-06/0.003365, allocations: 0 / 0.5472 GB, free: 27.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.003377, allocations: 17.7 kB / 0.5472 GB, free: 27.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.11e-05/0.003408, allocations: 21.69 kB / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003409, allocations: 0 / 0.5472 GB, free: 27.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.67e-05/0.003446, allocations: 41.69 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.003456, allocations: 4 kB / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.003461, allocations: 0 / 0.5472 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.003469, allocations: 4 kB / 0.5473 GB, free: 27.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.061e-05/0.0035, allocations: 11.88 kB / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.003503, allocations: 0 / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.003518, allocations: 0 / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.003522, allocations: 8.062 kB / 0.5473 GB, free: 27.57 MB / 410.7 MB 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 8.342e-05/0.003606, allocations: 129 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-06/0.00361, allocations: 4 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.859e-05/0.003629, allocations: 5.672 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.00363, allocations: 240 / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.003633, allocations: 3.938 kB / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.003636, allocations: 0 / 0.5474 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.003776, allocations: 97.86 kB / 0.5475 GB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.003777, allocations: 4 kB / 0.5475 GB, free: 27.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.003791, allocations: 4 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.003796, allocations: 0 / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.003798, allocations: 3.984 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.003805, allocations: 0 / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.003806, allocations: 0 / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.003808, allocations: 3.938 kB / 0.5475 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.308e-05/0.003871, allocations: 62.16 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.00388, allocations: 3.984 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.003889, allocations: 4 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.003899, allocations: 4.062 kB / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-07/0.0039, allocations: 0 / 0.5476 GB, free: 27.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.748e-06/0.00391, allocations: 12.8 kB / 0.5476 GB, free: 27.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00391, allocations: 3.938 kB / 0.5476 GB, free: 27.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.086e-05/0.004001, allocations: 4 kB / 0.5476 GB, free: 27.18 MB / 410.7 MB 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.235e-05/0.004053, allocations: 76.42 kB / 0.5477 GB, free: 27.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.168e-05/0.004115, allocations: 16.78 kB / 0.5477 GB, free: 27.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.004119, allocations: 0 / 0.5477 GB, free: 27.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.004127, allocations: 16.97 kB / 0.5477 GB, free: 27.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.682e-05/0.004213, allocations: 4 kB / 0.5477 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.005249, allocations: 145.1 kB / 0.5479 GB, free: 26.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.1e-05/0.00527, allocations: 63.41 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.005287, allocations: 0 / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.005313, allocations: 51.38 kB / 0.548 GB, free: 26.75 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.005314, allocations: 0 / 0.548 GB, free: 26.75 MB / 410.7 MB Notification: Performance of Templates: time 0.007795/0.01311, allocations: 360.1 kB / 0.5483 GB, free: 26.41 MB / 410.7 MB " [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: 3.598584824241698]