Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.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.0008442/0.0008442, allocations: 84.17 kB / 9.886 MB, free: 0.7969 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001976, allocations: 435.8 kB / 10.31 MB, free: 380 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.0007154/0.0007154, allocations: 157.1 kB / 11.2 MB, free: 2.969 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009653/0.001681, allocations: 463.6 kB / 11.65 MB, free: 2.512 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.021/1.021, allocations: 177.1 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09418/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7647/0.7647, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03337/0.7981, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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_ProteinBinding,tolerance=1e-09,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding") translateModel(Pharmacolibrary.Examples.PK_1C_ProteinBinding,tolerance=1e-09,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.452e-05, allocations: 6.312 kB / 0.5444 GB, free: 30.69 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.002642/0.002666, allocations: 2.268 MB / 0.5466 GB, free: 28.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.003482, allocations: 0.5531 MB / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.201e-05/0.003564, allocations: 0 / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.092e-05/0.003635, allocations: 27.72 kB / 0.5471 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.003771, allocations: 67.47 kB / 0.5472 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.003892, allocations: 47.83 kB / 0.5473 GB, free: 27.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.004089, allocations: 211 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.00419, allocations: 30.67 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.004375, allocations: 139.6 kB / 0.5476 GB, free: 27.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004482, allocations: 63.81 kB / 0.5477 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.004512, allocations: 16 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.374e-05/0.004535, allocations: 16 kB / 0.5477 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.004562, allocations: 23.92 kB / 0.5477 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.004618, allocations: 55.88 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.00477, allocations: 111.6 kB / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.004783, allocations: 0 / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004783, allocations: 0 / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.004794, allocations: 0 / 0.5479 GB, free: 27.05 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005377/0.005332, allocations: 431.8 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.005362, allocations: 11.89 kB / 0.5483 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.005409, allocations: 16.92 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.005563, allocations: 172.2 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.005584, allocations: 4.375 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.005605, allocations: 12.38 kB / 0.5485 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.005747, allocations: 90.19 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005758, allocations: 4.188 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.005768, allocations: 384 / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005774, allocations: 11.92 kB / 0.5486 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.107e-05/0.005825, allocations: 28.3 kB / 0.5486 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.006209, allocations: 271.8 kB / 0.5489 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.006376, allocations: 77.27 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.00641, allocations: 24.84 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.006419, allocations: 4 kB / 0.549 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.006534, allocations: 91.25 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.006536, allocations: 0 / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003274/0.006863, allocations: 142.7 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.066e-05/0.006884, allocations: 51.41 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.161e-05/0.006965, allocations: 170.5 kB / 0.5494 GB, free: 25.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.006977, allocations: 25.7 kB / 0.5495 GB, free: 25.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.007014, allocations: 112.7 kB / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.007046, allocations: 51.58 kB / 0.5496 GB, free: 25.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.703e-05/0.007093, allocations: 37.69 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.469e-05/0.007128, allocations: 330.8 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.831e-05/0.007176, allocations: 54.53 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.007237, allocations: 113.9 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.007322, allocations: 108.9 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.007326, allocations: 3.125 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002132/0.007539, allocations: 181.8 kB / 0.5504 GB, free: 24.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.007568, allocations: 36.77 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007573, allocations: 4.125 kB / 0.5504 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.007729, allocations: 32.83 kB / 0.5505 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.007868, allocations: 43.97 kB / 0.5505 GB, free: 24.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005793/0.008447, allocations: 1.168 MB / 0.5517 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.629e-05/0.008544, allocations: 19.95 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.008554, allocations: 4 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Warning: Assuming fixed start value for the following 2 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve (total conc)\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.008636, allocations: 137.7 kB / 0.5518 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.008658, allocations: 15.98 kB / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.008681, allocations: 16.78 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008684, allocations: 4 kB / 0.5519 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.008687, allocations: 2.75 kB / 0.5519 GB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.008691, allocations: 3.984 kB / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.0088, allocations: 105.8 kB / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008802, allocations: 0 / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.008894, allocations: 27.92 kB / 0.552 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.008915, allocations: 15.91 kB / 0.552 GB, free: 22.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.009025, allocations: 36.77 kB / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.009034, allocations: 0 / 0.552 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004108/0.009445, allocations: 1.158 MB / 0.5532 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.009446, allocations: 0 / 0.5532 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.009633, allocations: 157.8 kB / 0.5533 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.009653, allocations: 8 kB / 0.5533 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.009713, allocations: 7.984 kB / 0.5533 GB, free: 21.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.009755, allocations: 19.97 kB / 0.5534 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.009764, allocations: 3.625 kB / 0.5534 GB, free: 21.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.009805, allocations: 44.47 kB / 0.5534 GB, free: 20.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.009805, allocations: 8.062 kB / 0.5534 GB, free: 20.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.01001, allocations: 55.83 kB / 0.5535 GB, free: 20.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.M,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 3 ($whenCondition1,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 1 (periodicDose.pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 7.875e-05/0.01009, allocations: 76.42 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.01032, allocations: 268.2 kB / 0.5538 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.01032, allocations: 4 kB / 0.5538 GB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-05/0.0104, allocations: 155.6 kB / 0.5539 GB, free: 20.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.01057, allocations: 56.11 kB / 0.554 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005933/0.01651, allocations: 423.2 kB / 0.5544 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.584e-05/0.01654, allocations: 71.98 kB / 0.5545 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.01661, allocations: 17.52 kB / 0.5545 GB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.01671, allocations: 83.36 kB / 0.5546 GB, free: 19.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.01671, allocations: 4 kB / 0.5546 GB, free: 19.67 MB / 410.7 MB Notification: Performance of Templates: time 0.00521/0.02192, allocations: 3.017 MB / 0.5575 GB, free: 16.74 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.373815957456827]