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.001849/0.001849, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002024/0.002024, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.717/1.717, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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.314/1.314, allocations: 293 MB / 0.5392 GB, free: 49.8 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: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.124e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference): time 0.002641/0.002662, allocations: 2.29 MB / 0.7021 GB, free: 6.246 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.0075, allocations: 6.538 MB / 0.7085 GB, free: 15.7 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.007617, allocations: 0 / 0.7085 GB, free: 15.7 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.007748, allocations: 23.72 kB / 0.7085 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002558/0.008004, allocations: 95.19 kB / 0.7086 GB, free: 15.58 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.008234, allocations: 51.88 kB / 0.7087 GB, free: 15.53 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003724/0.008606, allocations: 262.6 kB / 0.7089 GB, free: 15.27 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.008744, allocations: 36.56 kB / 0.709 GB, free: 15.24 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.008961, allocations: 147.6 kB / 0.7091 GB, free: 15.1 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.009173, allocations: 79.78 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.009212, allocations: 23.94 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.00925, allocations: 16 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.916e-05/0.009299, allocations: 35.84 kB / 0.7092 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.009436, allocations: 75.77 kB / 0.7093 GB, free: 14.87 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.009734, allocations: 203.3 kB / 0.7095 GB, free: 14.67 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.00974, allocations: 4 kB / 0.7095 GB, free: 14.67 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.743e-06/0.009742, allocations: 0 / 0.7095 GB, free: 14.67 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.009747, allocations: 0 / 0.7095 GB, free: 14.67 MB / 426.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.001/0.01075, allocations: 0.4891 MB / 0.71 GB, free: 14.13 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.01079, allocations: 11.97 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.01085, allocations: 24.8 kB / 0.71 GB, free: 14.1 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.01113, allocations: 178.4 kB / 0.7102 GB, free: 13.89 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.01116, allocations: 8.609 kB / 0.7102 GB, free: 13.89 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.0112, allocations: 20.33 kB / 0.7102 GB, free: 13.87 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.01162, allocations: 194.5 kB / 0.7104 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.01164, allocations: 3.984 kB / 0.7104 GB, free: 13.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01166, allocations: 8 kB / 0.7104 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.01167, allocations: 0 / 0.7104 GB, free: 13.65 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.01206, allocations: 150.2 kB / 0.7106 GB, free: 13.5 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.01296, allocations: 485.5 kB / 0.711 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.01353, allocations: 180 kB / 0.7112 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.01374, allocations: 90.53 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01376, allocations: 4 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004112/0.01417, allocations: 230.8 kB / 0.7115 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.022e-05/0.01418, allocations: 0 / 0.7115 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001668/0.01585, allocations: 0.712 MB / 0.7122 GB, free: 11.67 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.01596, allocations: 132.5 kB / 0.7123 GB, free: 11.51 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.01623, allocations: 219 kB / 0.7125 GB, free: 11.29 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.01626, allocations: 29.7 kB / 0.7126 GB, free: 11.25 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01638, allocations: 140.4 kB / 0.7127 GB, free: 11.11 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.889e-05/0.01645, allocations: 63.48 kB / 0.7128 GB, free: 11.05 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01655, allocations: 53.69 kB / 0.7128 GB, free: 10.99 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01674, allocations: 334.8 kB / 0.7131 GB, free: 10.65 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.01702, allocations: 152.9 kB / 0.7133 GB, free: 10.48 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.01737, allocations: 225.3 kB / 0.7135 GB, free: 10.22 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004914/0.01786, allocations: 283.5 kB / 0.7138 GB, free: 9.902 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01786, allocations: 0 / 0.7138 GB, free: 9.902 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007106/0.01858, allocations: 391.9 kB / 0.7141 GB, free: 9.488 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.01864, allocations: 60.19 kB / 0.7142 GB, free: 9.418 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.01865, allocations: 4 kB / 0.7142 GB, free: 9.414 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.01867, allocations: 8.219 kB / 0.7142 GB, free: 9.406 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.01889, allocations: 55.84 kB / 0.7143 GB, free: 9.352 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.01891, allocations: 7.984 kB / 0.7143 GB, free: 9.344 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.0191, allocations: 15.98 kB / 0.7143 GB, free: 9.328 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.01913, allocations: 12 kB / 0.7143 GB, free: 9.316 MB / 426.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.0002199/0.01935, allocations: 177.5 kB / 0.7145 GB, free: 9.133 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.01939, allocations: 23.86 kB / 0.7145 GB, free: 9.109 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.01945, allocations: 25.97 kB / 0.7145 GB, free: 9.082 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.01945, allocations: 4 kB / 0.7145 GB, free: 9.078 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.01946, allocations: 11.86 kB / 0.7145 GB, free: 9.066 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01947, allocations: 0 / 0.7145 GB, free: 9.066 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.02038, allocations: 0.5352 MB / 0.7151 GB, free: 8.484 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.02038, allocations: 0 / 0.7151 GB, free: 8.484 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.02058, allocations: 35.97 kB / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.02058, allocations: 0 / 0.7151 GB, free: 8.449 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.0206, allocations: 12 kB / 0.7151 GB, free: 8.438 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.02061, allocations: 7.938 kB / 0.7151 GB, free: 8.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.02061, allocations: 0 / 0.7151 GB, free: 8.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008754/0.02149, allocations: 0.4898 MB / 0.7156 GB, free: 7.906 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.02153, allocations: 19.86 kB / 0.7156 GB, free: 7.887 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.02158, allocations: 12.03 kB / 0.7156 GB, free: 7.875 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.02176, allocations: 15.98 kB / 0.7156 GB, free: 7.859 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.02184, allocations: 15.97 kB / 0.7156 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.02185, allocations: 12 kB / 0.7157 GB, free: 7.832 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001865/0.02204, allocations: 160.4 kB / 0.7158 GB, free: 7.676 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02204, allocations: 0 / 0.7158 GB, free: 7.676 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003039/0.02234, allocations: 56 kB / 0.7159 GB, free: 7.621 MB / 426.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.00015/0.02249, allocations: 115.2 kB / 0.716 GB, free: 7.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.02316, allocations: 382.6 kB / 0.7163 GB, free: 7.086 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02316, allocations: 4.062 kB / 0.7163 GB, free: 7.082 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.02346, allocations: 176 kB / 0.7165 GB, free: 6.895 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.02394, allocations: 67.83 kB / 0.7166 GB, free: 6.828 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.02514, allocations: 0.5742 MB / 0.7171 GB, free: 6.223 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.02528, allocations: 125.6 kB / 0.7173 GB, free: 6.078 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.358e-05/0.02538, allocations: 17.95 kB / 0.7173 GB, free: 6.059 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.02545, allocations: 32.5 kB / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of SimCode: time 3.91e-07/0.02545, allocations: 0 / 0.7173 GB, free: 6.027 MB / 426.8 MB Notification: Performance of Templates: time 0.2284/0.2539, allocations: 3.344 MB / 0.7206 GB, free: 36.98 MB / 426.8 MB " [Timeout remaining time 660] 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: 6.910860172007233]