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.001022/0.001022, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001404/0.002426, allocations: 455.9 kB / 10.35 MB, free: 348 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.001093/0.001093, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002569, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.8955/0.8955, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07906/0.9746, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7196/0.7196, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02512/0.7447, allocations: 21.05 MB / 0.5432 GB, free: 31.71 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 9.72e-07/9.72e-07, allocations: 0 / 0.5445 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109e-05/1.206e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_ProteinBinding): time 0.001763/0.001776, allocations: 2.284 MB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.002353, allocations: 0.5609 MB / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.002404, allocations: 4 kB / 0.5473 GB, free: 27.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.002449, allocations: 19.78 kB / 0.5473 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.002533, allocations: 67.48 kB / 0.5474 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.345e-05/0.002606, allocations: 39.89 kB / 0.5474 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.002736, allocations: 218.9 kB / 0.5476 GB, free: 27.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.00281, allocations: 26.67 kB / 0.5476 GB, free: 27.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.002921, allocations: 135.8 kB / 0.5478 GB, free: 27.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.002997, allocations: 67.8 kB / 0.5478 GB, free: 27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.003017, allocations: 12 kB / 0.5479 GB, free: 26.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.12e-05/0.003038, allocations: 16 kB / 0.5479 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.00306, allocations: 27.88 kB / 0.5479 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.0031, allocations: 51.94 kB / 0.5479 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.003206, allocations: 107.6 kB / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.003214, allocations: 0 / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003215, allocations: 4 kB / 0.548 GB, free: 26.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.003224, allocations: 0 / 0.548 GB, free: 26.79 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.0003685/0.003593, allocations: 431.8 kB / 0.5485 GB, free: 26.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.23e-05/0.003615, allocations: 15.89 kB / 0.5485 GB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.003643, allocations: 20.92 kB / 0.5485 GB, free: 26.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.003743, allocations: 156.2 kB / 0.5486 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.003756, allocations: 8.375 kB / 0.5487 GB, free: 26.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.003776, allocations: 16.38 kB / 0.5487 GB, free: 26.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/0.003871, allocations: 90.11 kB / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.003879, allocations: 192 / 0.5488 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.003887, allocations: 4.375 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003892, allocations: 7.938 kB / 0.5488 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.003934, allocations: 27.92 kB / 0.5488 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.004221, allocations: 287.8 kB / 0.5491 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.004344, allocations: 77.17 kB / 0.5491 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.00437, allocations: 32.72 kB / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.004376, allocations: 0 / 0.5492 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.914e-05/0.004456, allocations: 79.34 kB / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.004457, allocations: 0 / 0.5492 GB, free: 25.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000245/0.004701, allocations: 146.7 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.00472, allocations: 59.39 kB / 0.5494 GB, free: 25.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.00478, allocations: 158.6 kB / 0.5496 GB, free: 25.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.00479, allocations: 29.7 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.729e-05/0.004817, allocations: 116.7 kB / 0.5497 GB, free: 24.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.00484, allocations: 47.58 kB / 0.5498 GB, free: 24.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.004875, allocations: 37.69 kB / 0.5498 GB, free: 24.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.834e-05/0.004903, allocations: 326.8 kB / 0.5501 GB, free: 24.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.288e-05/0.004936, allocations: 54.53 kB / 0.5502 GB, free: 24.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.004981, allocations: 119.7 kB / 0.5503 GB, free: 24.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.005038, allocations: 95.77 kB / 0.5504 GB, free: 24.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00504, allocations: 0 / 0.5504 GB, free: 24.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001405/0.00518, allocations: 189.7 kB / 0.5506 GB, free: 23.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.005203, allocations: 37.64 kB / 0.5506 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.005206, allocations: 4.125 kB / 0.5506 GB, free: 23.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000119/0.005325, allocations: 28.83 kB / 0.5506 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.005421, allocations: 51.91 kB / 0.5507 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003973/0.005818, allocations: 1.172 MB / 0.5518 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.005881, allocations: 15.94 kB / 0.5518 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.00589, allocations: 8 kB / 0.5518 GB, free: 22.58 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.022e-05/0.00595, allocations: 136.5 kB / 0.552 GB, free: 22.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.005963, allocations: 8 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.696e-05/0.00598, allocations: 24.77 kB / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005981, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.005982, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.005985, allocations: 0 / 0.552 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.673e-05/0.006052, allocations: 109.8 kB / 0.5521 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006053, allocations: 0 / 0.5521 GB, free: 22.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.356e-05/0.006117, allocations: 31.84 kB / 0.5521 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.00613, allocations: 15.89 kB / 0.5522 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.332e-05/0.006213, allocations: 32.84 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.006222, allocations: 7.984 kB / 0.5522 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000294/0.006516, allocations: 1.157 MB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006516, allocations: 0 / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.006658, allocations: 161.8 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.00667, allocations: 4 kB / 0.5535 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.006713, allocations: 8 kB / 0.5535 GB, free: 20.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.006746, allocations: 15.97 kB / 0.5535 GB, free: 20.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.006752, allocations: 7.984 kB / 0.5535 GB, free: 20.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.926e-05/0.006782, allocations: 44.33 kB / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.006782, allocations: 0 / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.006915, allocations: 51.89 kB / 0.5536 GB, free: 20.64 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 4.537e-05/0.00696, allocations: 84.41 kB / 0.5537 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.007133, allocations: 268.2 kB / 0.5539 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.00714, allocations: 8 kB / 0.554 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/0.007208, allocations: 156 kB / 0.5541 GB, free: 20.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.007332, allocations: 55.92 kB / 0.5542 GB, free: 20.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.01161, allocations: 415.9 kB / 0.5546 GB, free: 19.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.632e-05/0.01164, allocations: 72 kB / 0.5546 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.01169, allocations: 17.52 kB / 0.5546 GB, free: 19.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.943e-05/0.01177, allocations: 83.34 kB / 0.5547 GB, free: 19.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.01177, allocations: 4 kB / 0.5547 GB, free: 19.4 MB / 410.7 MB Notification: Performance of Templates: time 0.003724/0.01549, allocations: 3.025 MB / 0.5577 GB, free: 16.46 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.09462424647063]