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.0007462/0.0007462, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000982/0.001728, allocations: 440 kB / 10.41 MB, free: 284 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.001143/0.001143, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001556/0.002699, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9964/0.9964, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09531/1.092, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.7681/0.7681, allocations: 291.1 MB / 0.5227 GB, free: 52.46 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02968/0.7978, allocations: 21.05 MB / 0.5433 GB, free: 31.48 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 1.533e-06/1.533e-06, allocations: 0 / 0.5446 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.096e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.17 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.001955/0.001976, allocations: 2.273 MB / 0.5468 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005274/0.002503, allocations: 0.5609 MB / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.002563, allocations: 0 / 0.5474 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.002616, allocations: 23.78 kB / 0.5474 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.002713, allocations: 71.41 kB / 0.5474 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.471e-05/0.002798, allocations: 35.91 kB / 0.5475 GB, free: 27.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.002944, allocations: 222.9 kB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.003028, allocations: 30.67 kB / 0.5477 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.003152, allocations: 131.7 kB / 0.5478 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.921e-05/0.003241, allocations: 67.8 kB / 0.5479 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.003264, allocations: 16 kB / 0.5479 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.003283, allocations: 16 kB / 0.5479 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.003307, allocations: 27.88 kB / 0.548 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.003349, allocations: 47.94 kB / 0.548 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.003469, allocations: 107.6 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.003482, allocations: 0 / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003482, allocations: 0 / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.003489, allocations: 4 kB / 0.5481 GB, free: 26.53 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.0004382/0.003927, allocations: 431.8 kB / 0.5485 GB, free: 26.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.003954, allocations: 11.89 kB / 0.5485 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.00399, allocations: 20.92 kB / 0.5486 GB, free: 26.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.004118, allocations: 160.2 kB / 0.5487 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.004132, allocations: 8.375 kB / 0.5487 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.004152, allocations: 12.38 kB / 0.5487 GB, free: 25.85 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.004257, allocations: 93.62 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.004266, allocations: 8.172 kB / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.004274, allocations: 384 / 0.5488 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.004279, allocations: 7.938 kB / 0.5488 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.00432, allocations: 32.08 kB / 0.5489 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.004623, allocations: 283.8 kB / 0.5491 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.004755, allocations: 74.52 kB / 0.5492 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.00478, allocations: 20.84 kB / 0.5492 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.004789, allocations: 8 kB / 0.5492 GB, free: 25.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/0.004879, allocations: 91.2 kB / 0.5493 GB, free: 25.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.00488, allocations: 0 / 0.5493 GB, free: 25.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002574/0.005138, allocations: 134.7 kB / 0.5495 GB, free: 25.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.005156, allocations: 55.41 kB / 0.5495 GB, free: 25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.005216, allocations: 162.6 kB / 0.5497 GB, free: 24.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.005226, allocations: 29.7 kB / 0.5497 GB, free: 24.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.504e-05/0.005251, allocations: 112.6 kB / 0.5498 GB, free: 24.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.005274, allocations: 59.55 kB / 0.5499 GB, free: 24.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.005308, allocations: 33.7 kB / 0.5499 GB, free: 24.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.529e-05/0.005333, allocations: 330.8 kB / 0.5502 GB, free: 24.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.005369, allocations: 50.55 kB / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.005412, allocations: 109.7 kB / 0.5504 GB, free: 24.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.005476, allocations: 112.9 kB / 0.5505 GB, free: 23.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005478, allocations: 0 / 0.5505 GB, free: 23.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001385/0.005616, allocations: 181 kB / 0.5506 GB, free: 23.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.005641, allocations: 45.56 kB / 0.5507 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.005645, allocations: 0 / 0.5507 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.005768, allocations: 32.92 kB / 0.5507 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.005875, allocations: 47.97 kB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004059/0.006281, allocations: 1.165 MB / 0.5519 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.006348, allocations: 22.81 kB / 0.5519 GB, free: 22.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.006355, allocations: 4 kB / 0.5519 GB, free: 22.33 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 6.613e-05/0.006422, allocations: 129.7 kB / 0.552 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.006436, allocations: 15.98 kB / 0.5521 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.799e-05/0.006454, allocations: 16.78 kB / 0.5521 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.006455, allocations: 4 kB / 0.5521 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.006456, allocations: 3.984 kB / 0.5521 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.00646, allocations: 3.984 kB / 0.5521 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.239e-05/0.006532, allocations: 109.8 kB / 0.5522 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006534, allocations: 0 / 0.5522 GB, free: 22.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.006599, allocations: 23.92 kB / 0.5522 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.006613, allocations: 19.78 kB / 0.5522 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.742e-05/0.0067, allocations: 36.83 kB / 0.5523 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.537e-06/0.006709, allocations: 4 kB / 0.5523 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002884/0.006997, allocations: 1.15 MB / 0.5534 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006998, allocations: 0 / 0.5534 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.007141, allocations: 165.9 kB / 0.5536 GB, free: 20.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.007154, allocations: 4 kB / 0.5536 GB, free: 20.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.007199, allocations: 11.98 kB / 0.5536 GB, free: 20.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.007232, allocations: 15.97 kB / 0.5536 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.007237, allocations: 4 kB / 0.5536 GB, free: 20.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.06e-05/0.007268, allocations: 44.25 kB / 0.5536 GB, free: 20.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.007268, allocations: 0 / 0.5536 GB, free: 20.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000135/0.007403, allocations: 51.95 kB / 0.5537 GB, free: 20.39 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 5.442e-05/0.007457, allocations: 84.36 kB / 0.5538 GB, free: 20.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.007636, allocations: 274.9 kB / 0.554 GB, free: 20 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.007642, allocations: 4 kB / 0.554 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.488e-05/0.007717, allocations: 160.3 kB / 0.5542 GB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.007885, allocations: 280 kB / 0.5544 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/0.01222, allocations: 419.5 kB / 0.5548 GB, free: 19.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.44e-05/0.01224, allocations: 75.98 kB / 0.5549 GB, free: 18.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.753e-05/0.01229, allocations: 9.5 kB / 0.5549 GB, free: 18.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.01237, allocations: 83.34 kB / 0.555 GB, free: 18.88 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01237, allocations: 0 / 0.555 GB, free: 18.88 MB / 410.7 MB Notification: Performance of Templates: time 0.003891/0.01626, allocations: 3.026 MB / 0.558 GB, free: 15.94 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.422034309245646]