Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.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.00187/0.00187, 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.002103/0.002103, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.654/1.654, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.351/1.351, allocations: 292.9 MB / 0.5392 GB, free: 49.79 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.848e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.547 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem): time 0.002909/0.002938, allocations: 2.303 MB / 0.7021 GB, free: 6.227 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005595/0.008533, allocations: 6.541 MB / 0.7085 GB, free: 15.68 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.008686, allocations: 3.938 kB / 0.7085 GB, free: 15.67 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.008841, allocations: 19.78 kB / 0.7086 GB, free: 15.65 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.009129, allocations: 95.19 kB / 0.7086 GB, free: 15.56 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.009394, allocations: 51.88 kB / 0.7087 GB, free: 15.51 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.00979, allocations: 266.6 kB / 0.7089 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.00996, allocations: 36.58 kB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002504/0.01021, allocations: 147.6 kB / 0.7091 GB, free: 15.07 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.01046, allocations: 79.78 kB / 0.7092 GB, free: 14.99 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.0105, allocations: 16 kB / 0.7092 GB, free: 14.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.01054, allocations: 16 kB / 0.7092 GB, free: 14.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.046e-05/0.01059, allocations: 39.78 kB / 0.7093 GB, free: 14.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.01072, allocations: 79.77 kB / 0.7093 GB, free: 14.84 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.01105, allocations: 195.4 kB / 0.7095 GB, free: 14.65 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.01106, allocations: 7.938 kB / 0.7095 GB, free: 14.64 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01106, allocations: 0 / 0.7095 GB, free: 14.64 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.01107, allocations: 4 kB / 0.7095 GB, free: 14.64 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.001054/0.01212, allocations: 496.8 kB / 0.71 GB, free: 14.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.01216, allocations: 8.031 kB / 0.71 GB, free: 14.1 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.01224, allocations: 24.8 kB / 0.71 GB, free: 14.08 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.01253, allocations: 178.4 kB / 0.7102 GB, free: 13.88 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.01255, allocations: 8.609 kB / 0.7102 GB, free: 13.87 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.01259, allocations: 24.27 kB / 0.7102 GB, free: 13.84 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.01303, allocations: 202.5 kB / 0.7104 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.01305, allocations: 0 / 0.7104 GB, free: 13.63 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.01307, allocations: 8 kB / 0.7104 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.01308, allocations: 4 kB / 0.7105 GB, free: 13.62 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.01347, allocations: 146.2 kB / 0.7106 GB, free: 13.47 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.01436, allocations: 477.5 kB / 0.711 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005988/0.01496, allocations: 176.2 kB / 0.7112 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.01519, allocations: 98.52 kB / 0.7113 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.0152, allocations: 4 kB / 0.7113 GB, free: 12.68 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.01563, allocations: 228.4 kB / 0.7115 GB, free: 12.42 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.01563, allocations: 0 / 0.7115 GB, free: 12.42 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.00187/0.0175, allocations: 0.7103 MB / 0.7122 GB, free: 11.65 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.01762, allocations: 132.5 kB / 0.7124 GB, free: 11.49 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.01788, allocations: 215.1 kB / 0.7126 GB, free: 11.27 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.01792, allocations: 33.7 kB / 0.7126 GB, free: 11.23 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01804, allocations: 140.3 kB / 0.7127 GB, free: 11.09 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.996e-05/0.01811, allocations: 67.47 kB / 0.7128 GB, free: 11.02 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.412e-05/0.0182, allocations: 53.7 kB / 0.7128 GB, free: 10.96 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01839, allocations: 342.8 kB / 0.7132 GB, free: 10.62 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.01867, allocations: 148.9 kB / 0.7133 GB, free: 10.46 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.01901, allocations: 221.3 kB / 0.7135 GB, free: 10.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.0195, allocations: 278.3 kB / 0.7138 GB, free: 9.883 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.0195, allocations: 0 / 0.7138 GB, free: 9.883 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007085/0.02021, allocations: 395.9 kB / 0.7142 GB, free: 9.465 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.95e-05/0.02027, allocations: 55.62 kB / 0.7142 GB, free: 9.398 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.02028, allocations: 8 kB / 0.7142 GB, free: 9.391 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.0203, allocations: 4 kB / 0.7142 GB, free: 9.387 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.02053, allocations: 59.83 kB / 0.7143 GB, free: 9.328 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.02054, allocations: 4 kB / 0.7143 GB, free: 9.324 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.02073, allocations: 15.98 kB / 0.7143 GB, free: 9.309 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.02076, allocations: 12 kB / 0.7143 GB, free: 9.297 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.0002277/0.02099, allocations: 173.9 kB / 0.7145 GB, free: 9.113 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.02103, allocations: 27.86 kB / 0.7145 GB, free: 9.086 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.02109, allocations: 25.95 kB / 0.7145 GB, free: 9.059 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.0211, allocations: 4 kB / 0.7145 GB, free: 9.055 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.02111, allocations: 3.938 kB / 0.7145 GB, free: 9.051 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.02111, allocations: 0 / 0.7145 GB, free: 9.051 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.02204, allocations: 0.5356 MB / 0.7151 GB, free: 8.469 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.02204, allocations: 0 / 0.7151 GB, free: 8.469 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.02225, allocations: 39.91 kB / 0.7151 GB, free: 8.43 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.02225, allocations: 4 kB / 0.7151 GB, free: 8.426 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.02227, allocations: 11.94 kB / 0.7151 GB, free: 8.414 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02227, allocations: 0 / 0.7151 GB, free: 8.414 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02227, allocations: 0 / 0.7151 GB, free: 8.414 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.02317, allocations: 0.4924 MB / 0.7156 GB, free: 7.891 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.02322, allocations: 23.83 kB / 0.7156 GB, free: 7.867 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.02327, allocations: 12 kB / 0.7156 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.02345, allocations: 15.98 kB / 0.7156 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.02353, allocations: 23.97 kB / 0.7157 GB, free: 7.816 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.02355, allocations: 4 kB / 0.7157 GB, free: 7.812 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001851/0.02373, allocations: 160.4 kB / 0.7158 GB, free: 7.656 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02373, allocations: 0 / 0.7158 GB, free: 7.656 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000305/0.02404, allocations: 60 kB / 0.7159 GB, free: 7.598 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.0001596/0.0242, allocations: 112 kB / 0.716 GB, free: 7.48 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.02489, allocations: 387.8 kB / 0.7164 GB, free: 7.059 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02489, allocations: 0 / 0.7164 GB, free: 7.059 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.02518, allocations: 169 kB / 0.7165 GB, free: 6.875 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.02566, allocations: 64.14 kB / 0.7166 GB, free: 6.812 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.02688, allocations: 0.5728 MB / 0.7171 GB, free: 6.211 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.02702, allocations: 129.6 kB / 0.7173 GB, free: 6.062 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.02712, allocations: 21.95 kB / 0.7173 GB, free: 6.039 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.02719, allocations: 28.44 kB / 0.7173 GB, free: 6.012 MB / 426.8 MB Notification: Performance of SimCode: time 3.61e-07/0.02719, allocations: 0 / 0.7173 GB, free: 6.012 MB / 426.8 MB Notification: Performance of Templates: time 0.2122/0.2394, allocations: 3.338 MB / 0.7206 GB, free: 36.97 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.946258642012253]