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.0006762/0.0006762, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008907/0.001567, 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.000679/0.000679, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008923/0.001571, 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 0.9259/0.9259, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09503/1.021, allocations: 53.65 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.7743/0.7743, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03156/0.8059, allocations: 21.04 MB / 0.5432 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_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.473e-06/1.473e-06, allocations: 0 / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/2.135e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.002615/0.002637, allocations: 2.272 MB / 0.5466 GB, free: 28.41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006908/0.003327, allocations: 0.5648 MB / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.711e-05/0.003395, allocations: 0 / 0.5472 GB, free: 27.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.006468, allocations: 23.78 kB / 0.5472 GB, free: 27.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.006597, allocations: 59.48 kB / 0.5473 GB, free: 27.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.00671, allocations: 59.75 kB / 0.5473 GB, free: 27.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.006898, allocations: 207 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.006991, allocations: 26.69 kB / 0.5475 GB, free: 27.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.007142, allocations: 139.7 kB / 0.5477 GB, free: 27.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.007241, allocations: 63.8 kB / 0.5477 GB, free: 27.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.007266, allocations: 16 kB / 0.5477 GB, free: 27.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.167e-05/0.007288, allocations: 16 kB / 0.5478 GB, free: 27.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.007314, allocations: 23.94 kB / 0.5478 GB, free: 27.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.007369, allocations: 51.88 kB / 0.5478 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.00752, allocations: 111.6 kB / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.497e-05/0.007535, allocations: 3.938 kB / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.007536, allocations: 0 / 0.5479 GB, free: 27.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.007553, 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.0005344/0.008088, allocations: 431.8 kB / 0.5484 GB, free: 26.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.008119, allocations: 11.89 kB / 0.5484 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.008162, allocations: 24.92 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.008313, allocations: 160.2 kB / 0.5485 GB, free: 26.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.008335, allocations: 12.38 kB / 0.5486 GB, free: 26.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.008358, allocations: 12.38 kB / 0.5486 GB, free: 26.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.008494, allocations: 90.11 kB / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.008505, allocations: 192 / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.008514, allocations: 8.375 kB / 0.5487 GB, free: 26.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.00852, allocations: 3.938 kB / 0.5487 GB, free: 26.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.573e-05/0.008576, allocations: 28.14 kB / 0.5487 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.008946, allocations: 275.8 kB / 0.549 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.009113, allocations: 81.11 kB / 0.549 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/0.009146, allocations: 28.84 kB / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.009155, allocations: 0 / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/0.009271, allocations: 79.36 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.009272, allocations: 4 kB / 0.5491 GB, free: 25.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003351/0.01262, allocations: 142.6 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/0.01264, allocations: 59.39 kB / 0.5493 GB, free: 25.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.47e-05/0.01273, allocations: 158.6 kB / 0.5495 GB, free: 25.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.01274, allocations: 29.7 kB / 0.5495 GB, free: 25.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/0.01278, allocations: 108.7 kB / 0.5496 GB, free: 25.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.01281, allocations: 51.58 kB / 0.5497 GB, free: 25.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.01286, allocations: 41.69 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.203e-05/0.01289, allocations: 326.8 kB / 0.55 GB, free: 24.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.93e-05/0.01294, allocations: 54.53 kB / 0.5501 GB, free: 24.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.01299, allocations: 111.7 kB / 0.5502 GB, free: 24.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.01307, allocations: 108.9 kB / 0.5503 GB, free: 24.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01307, allocations: 0 / 0.5503 GB, free: 24.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002013/0.01327, allocations: 177.8 kB / 0.5504 GB, free: 24.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.0133, allocations: 45.77 kB / 0.5505 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01331, allocations: 0 / 0.5505 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.01346, allocations: 28.83 kB / 0.5505 GB, free: 24.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.0136, allocations: 51.89 kB / 0.5506 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005758/0.01417, allocations: 1.177 MB / 0.5517 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.583e-05/0.01427, allocations: 15.94 kB / 0.5517 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.01428, allocations: 8 kB / 0.5517 GB, free: 22.85 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 7.857e-05/0.01436, allocations: 137.1 kB / 0.5519 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.01437, allocations: 8 kB / 0.5519 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.0144, allocations: 24.77 kB / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.0144, allocations: 0 / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.0144, allocations: 0 / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.01441, allocations: 0 / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.596e-05/0.0145, allocations: 105.8 kB / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01451, allocations: 0 / 0.552 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-05/0.0146, allocations: 27.86 kB / 0.552 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.01461, allocations: 19.89 kB / 0.5521 GB, free: 22.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.01472, allocations: 24.84 kB / 0.5521 GB, free: 22.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01473, allocations: 11.98 kB / 0.5521 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003974/0.01512, allocations: 1.162 MB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01513, allocations: 0 / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003195/0.01832, allocations: 157.8 kB / 0.5534 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01834, allocations: 4 kB / 0.5534 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.0184, allocations: 11.31 kB / 0.5534 GB, free: 21.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01844, allocations: 11.97 kB / 0.5534 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01845, allocations: 12.05 kB / 0.5534 GB, free: 21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.01849, allocations: 44.27 kB / 0.5535 GB, free: 20.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01849, allocations: 0 / 0.5535 GB, free: 20.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01868, allocations: 51.89 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 8.265e-05/0.01876, allocations: 88.41 kB / 0.5536 GB, free: 20.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.01898, allocations: 264.2 kB / 0.5538 GB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.01899, allocations: 4 kB / 0.5538 GB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.01907, allocations: 159.8 kB / 0.554 GB, free: 20.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01924, allocations: 51.92 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.008461/0.0277, allocations: 417.1 kB / 0.5544 GB, free: 19.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.02774, allocations: 75.98 kB / 0.5545 GB, free: 19.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.02781, allocations: 13.48 kB / 0.5545 GB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.304e-05/0.02789, allocations: 95.33 kB / 0.5546 GB, free: 19.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.0279, allocations: 0 / 0.5546 GB, free: 19.66 MB / 410.7 MB Notification: Performance of Templates: time 0.004219/0.03211, allocations: 3.013 MB / 0.5576 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.303690847940743]