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.0006943/0.0006943, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001624, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007184/0.0007184, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000986/0.001704, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9311/0.9311, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07503/1.006, 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.7304/0.7304, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02216/0.7526, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.273e-06/1.273e-06, allocations: 0 / 0.5443 GB, free: 30.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014e-05/1.141e-05, allocations: 10.19 kB / 0.5443 GB, free: 30.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.001796/0.001807, allocations: 2.275 MB / 0.5466 GB, free: 28.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005238/0.002331, allocations: 0.5531 MB / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.00239, allocations: 0 / 0.5471 GB, free: 27.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.252e-05/0.002442, allocations: 23.78 kB / 0.5471 GB, free: 27.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.782e-05/0.00254, allocations: 67.47 kB / 0.5472 GB, free: 27.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.811e-05/0.002628, allocations: 43.89 kB / 0.5472 GB, free: 27.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.00278, allocations: 210.9 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.002869, allocations: 34.56 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.003005, allocations: 135.8 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.003089, allocations: 71.73 kB / 0.5477 GB, free: 27.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.003113, allocations: 16 kB / 0.5477 GB, free: 27.28 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.003133, allocations: 16 kB / 0.5477 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.003158, allocations: 27.88 kB / 0.5477 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.003203, allocations: 43.94 kB / 0.5478 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.003323, allocations: 107.6 kB / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.003335, allocations: 4 kB / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003336, allocations: 0 / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.003345, allocations: 0 / 0.5479 GB, free: 27.09 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.0004558/0.003801, allocations: 431.8 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.445e-05/0.003826, allocations: 11.89 kB / 0.5483 GB, free: 26.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.003861, allocations: 20.92 kB / 0.5483 GB, free: 26.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.003987, allocations: 160.2 kB / 0.5485 GB, free: 26.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.004002, allocations: 8.375 kB / 0.5485 GB, free: 26.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.004022, allocations: 16.38 kB / 0.5485 GB, free: 26.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.004134, allocations: 90.17 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.004142, allocations: 192 / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.004151, allocations: 4.375 kB / 0.5486 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.004156, allocations: 7.938 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.421e-05/0.0042, allocations: 32.3 kB / 0.5486 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.004511, allocations: 283.7 kB / 0.5489 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.004648, allocations: 74.53 kB / 0.5489 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.004677, allocations: 24.86 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.004685, allocations: 4 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.745e-05/0.004782, allocations: 90.64 kB / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.004784, allocations: 0 / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.00028/0.005064, allocations: 142.7 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.005083, allocations: 59.34 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.00515, allocations: 154.6 kB / 0.5494 GB, free: 25.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.005161, allocations: 33.7 kB / 0.5494 GB, free: 25.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.005189, allocations: 112.7 kB / 0.5495 GB, free: 25.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.005215, allocations: 55.56 kB / 0.5496 GB, free: 25.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.005251, allocations: 37.69 kB / 0.5496 GB, free: 25.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.628e-05/0.005277, allocations: 326.8 kB / 0.5499 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/0.005315, allocations: 50.55 kB / 0.55 GB, free: 24.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.005355, allocations: 111.6 kB / 0.5501 GB, free: 24.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.005422, allocations: 112.1 kB / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005424, allocations: 0 / 0.5502 GB, free: 24.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001496/0.005574, allocations: 181.8 kB / 0.5504 GB, free: 24.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.005599, allocations: 37.62 kB / 0.5504 GB, free: 24.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005602, allocations: 4 kB / 0.5504 GB, free: 24.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.00573, allocations: 32.92 kB / 0.5504 GB, free: 24.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.005838, allocations: 39.97 kB / 0.5505 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/0.00627, allocations: 1.172 MB / 0.5516 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.006337, allocations: 19.88 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.006346, allocations: 8 kB / 0.5517 GB, free: 22.88 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.163e-05/0.006407, allocations: 132.5 kB / 0.5518 GB, free: 22.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.006422, allocations: 19.42 kB / 0.5518 GB, free: 22.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.00644, allocations: 20.77 kB / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006441, allocations: 4 kB / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.006442, allocations: 0 / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006446, allocations: 0 / 0.5518 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.389e-05/0.006519, allocations: 105.8 kB / 0.5519 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006521, allocations: 4 kB / 0.5519 GB, free: 22.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.79e-05/0.006589, allocations: 23.92 kB / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.006603, allocations: 15.89 kB / 0.552 GB, free: 22.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/0.006687, allocations: 36.77 kB / 0.552 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.006697, allocations: 4 kB / 0.552 GB, free: 22.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002992/0.006996, allocations: 1.157 MB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006997, allocations: 4.125 kB / 0.5531 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.00715, allocations: 153.8 kB / 0.5533 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.007163, allocations: 0 / 0.5533 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.007211, allocations: 11.98 kB / 0.5533 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.007246, allocations: 15.97 kB / 0.5533 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.007251, allocations: 4 kB / 0.5533 GB, free: 21.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.138e-05/0.007283, allocations: 52.41 kB / 0.5534 GB, free: 20.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007283, allocations: 0 / 0.5534 GB, free: 20.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000135/0.007418, allocations: 43.95 kB / 0.5534 GB, free: 20.95 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.092e-05/0.007468, allocations: 88.36 kB / 0.5535 GB, free: 20.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.007648, allocations: 268.2 kB / 0.5538 GB, free: 20.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.007651, allocations: 7.938 kB / 0.5538 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.007713, allocations: 147.7 kB / 0.5539 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.007858, allocations: 59.48 kB / 0.554 GB, free: 20.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.01255, allocations: 458 kB / 0.5544 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.01259, allocations: 107.6 kB / 0.5545 GB, free: 19.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.019e-05/0.01268, allocations: 79.36 kB / 0.5546 GB, free: 19.65 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01268, allocations: 0 / 0.5546 GB, free: 19.65 MB / 410.7 MB Notification: Performance of Templates: time 0.002323/0.015, allocations: 2.833 MB / 0.5573 GB, free: 16.85 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 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_ProteinBinding.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.01220231782645]