Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.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.002058/0.002058, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002163/0.002163, allocations: 221.1 kB / 22.25 MB, free: 3.586 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.677/1.677, allocations: 230.6 MB / 256 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 178] 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 1.45/1.45, allocations: 316.7 MB / 0.6144 GB, free: 93.25 MB / 410.7 MB " [Timeout remaining time 178] 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.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003822/0.003822, allocations: 77.75 kB / 0.7749 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1666, allocations: 73.99 MB / 0.8472 GB, free: 5.094 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference): time 0.004355/0.171, allocations: 2.289 MB / 0.8494 GB, free: 2.805 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3174/0.4884, allocations: 6.523 MB / 0.8558 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.4886, allocations: 4.375 kB / 0.8558 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.4887, allocations: 23.62 kB / 0.8558 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.489, allocations: 86.25 kB / 0.8559 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.4892, allocations: 50.81 kB / 0.856 GB, free: 21.76 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.4895, allocations: 262.4 kB / 0.8562 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.4896, allocations: 32.97 kB / 0.8562 GB, free: 21.73 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.4898, allocations: 97.97 kB / 0.8563 GB, free: 21.72 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.49, allocations: 101.9 kB / 0.8564 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.49, allocations: 13.5 kB / 0.8565 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.4901, allocations: 18.31 kB / 0.8565 GB, free: 21.69 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.4901, allocations: 39.31 kB / 0.8565 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.206e-05/0.4902, allocations: 92.56 kB / 0.8566 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.4904, allocations: 202.5 kB / 0.8568 GB, free: 21.63 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4904, allocations: 0 / 0.8568 GB, free: 21.63 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4904, allocations: 0 / 0.8568 GB, free: 21.63 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.4905, allocations: 5.719 kB / 0.8568 GB, free: 21.62 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007429/0.4912, allocations: 496.8 kB / 0.8573 GB, free: 21.23 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.4912, allocations: 9.75 kB / 0.8573 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.4913, allocations: 24.55 kB / 0.8573 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.4915, allocations: 184.8 kB / 0.8575 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4915, allocations: 11.84 kB / 0.8575 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.4915, allocations: 22.55 kB / 0.8575 GB, free: 21.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.4919, allocations: 189.7 kB / 0.8577 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4919, allocations: 2.188 kB / 0.8577 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.4919, allocations: 4.844 kB / 0.8577 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4919, allocations: 3.406 kB / 0.8577 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.4922, allocations: 149.7 kB / 0.8578 GB, free: 20.94 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.493, allocations: 482.8 kB / 0.8583 GB, free: 20.64 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.4934, allocations: 179 kB / 0.8585 GB, free: 20.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.4936, allocations: 93.52 kB / 0.8586 GB, free: 20.55 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4936, allocations: 3.938 kB / 0.8586 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.4939, allocations: 226.6 kB / 0.8588 GB, free: 20.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.322e-06/0.4939, allocations: 0.5938 kB / 0.8588 GB, free: 20.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001254/0.4952, allocations: 0.7079 MB / 0.8595 GB, free: 20.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.4952, allocations: 135.8 kB / 0.8596 GB, free: 19.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4954, allocations: 213.8 kB / 0.8598 GB, free: 19.78 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4954, allocations: 29.27 kB / 0.8598 GB, free: 19.75 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.4954, allocations: 137 kB / 0.86 GB, free: 19.65 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.4955, allocations: 75.72 kB / 0.86 GB, free: 19.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.4956, allocations: 51.7 kB / 0.8601 GB, free: 19.59 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.4956, allocations: 339.9 kB / 0.8604 GB, free: 19.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.4958, allocations: 143 kB / 0.8605 GB, free: 19.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.496, allocations: 225.5 kB / 0.8608 GB, free: 19.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.4964, allocations: 281.5 kB / 0.861 GB, free: 18.87 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4964, allocations: 1.594 kB / 0.861 GB, free: 18.87 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005111/0.4969, allocations: 391.6 kB / 0.8614 GB, free: 18.69 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.4969, allocations: 61.73 kB / 0.8615 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4969, allocations: 5.219 kB / 0.8615 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.497, allocations: 4.031 kB / 0.8615 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.4972, allocations: 57.28 kB / 0.8615 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.4972, allocations: 4.969 kB / 0.8615 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4973, allocations: 19.75 kB / 0.8616 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.4974, allocations: 14.47 kB / 0.8616 GB, free: 18.61 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.4975, allocations: 175.5 kB / 0.8617 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.4976, allocations: 24.09 kB / 0.8618 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.4976, allocations: 26.02 kB / 0.8618 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4976, allocations: 4.562 kB / 0.8618 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4976, allocations: 3.938 kB / 0.8618 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4976, allocations: 0.6094 kB / 0.8618 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.4983, allocations: 0.536 MB / 0.8623 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4983, allocations: 0.875 kB / 0.8623 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.4984, allocations: 42.7 kB / 0.8624 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4984, allocations: 1.906 kB / 0.8624 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.4985, allocations: 4.625 kB / 0.8624 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4985, allocations: 6.281 kB / 0.8624 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4985, allocations: 0 / 0.8624 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.4991, allocations: 0.4931 MB / 0.8628 GB, free: 17.88 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.4991, allocations: 23 kB / 0.8629 GB, free: 17.87 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.4992, allocations: 7.625 kB / 0.8629 GB, free: 17.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.4993, allocations: 17.66 kB / 0.8629 GB, free: 17.87 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.4994, allocations: 25.7 kB / 0.8629 GB, free: 17.87 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4994, allocations: 4.469 kB / 0.8629 GB, free: 17.87 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4995, allocations: 163.6 kB / 0.8631 GB, free: 17.79 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4995, allocations: 0.9375 kB / 0.8631 GB, free: 17.79 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002824/0.4998, allocations: 55.22 kB / 0.8631 GB, free: 17.79 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.4999, allocations: 115.9 kB / 0.8632 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005549/0.5005, allocations: 382 kB / 0.8636 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5005, allocations: 1.875 kB / 0.8636 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.5007, allocations: 176 kB / 0.8638 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.5012, allocations: 65.03 kB / 0.8638 GB, free: 17.36 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5023, allocations: 0.6848 MB / 0.8645 GB, free: 17.03 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.5024, allocations: 126.8 kB / 0.8646 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001009/0.5025, allocations: 25.91 kB / 0.8647 GB, free: 16.95 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.5026, allocations: 20.19 kB / 0.8647 GB, free: 16.94 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.5026, allocations: 1.188 kB / 0.8647 GB, free: 16.94 MB / 490.8 MB Notification: Performance of Templates: time 0.007825/0.5104, allocations: 3.643 MB / 0.8682 GB, free: 16.61 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.736021789023653]