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.0006815/0.0006815, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001641, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007121/0.0007121, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008868/0.001599, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.9817/0.9817, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09871/1.08, allocations: 53.66 MB / 243.3 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.802/0.802, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02904/0.831, allocations: 21.04 MB / 0.5432 GB, free: 31.95 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.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.513e-06/1.513e-06, allocations: 0 / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.029e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference): time 0.002143/0.002164, allocations: 2.488 MB / 0.547 GB, free: 28.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005114/0.007278, allocations: 6.692 MB / 0.5535 GB, free: 21.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.007455, allocations: 7.938 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.341e-05/0.007548, allocations: 31.66 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.007707, allocations: 83.38 kB / 0.5536 GB, free: 21.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.007858, allocations: 55.81 kB / 0.5537 GB, free: 21.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.008054, allocations: 262.6 kB / 0.5539 GB, free: 20.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.008166, allocations: 42.48 kB / 0.554 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.008354, allocations: 180.2 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.008513, allocations: 83.72 kB / 0.5542 GB, free: 20.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.008537, allocations: 20 kB / 0.5542 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.00856, allocations: 16 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.008589, allocations: 31.88 kB / 0.5543 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.008647, allocations: 59.88 kB / 0.5543 GB, free: 20.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.008824, allocations: 143.5 kB / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.008838, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.00884, allocations: 0 / 0.5545 GB, free: 20.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.008854, allocations: 0 / 0.5545 GB, free: 20.38 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0005389/0.009393, allocations: 0.4936 MB / 0.555 GB, free: 19.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.009426, allocations: 11.89 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.00947, allocations: 32.86 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.009637, allocations: 171.1 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.009654, allocations: 12.61 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.009682, allocations: 20.3 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.009849, allocations: 159.4 kB / 0.5553 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.009862, allocations: 3.984 kB / 0.5553 GB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.009873, allocations: 8 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.009878, allocations: 4 kB / 0.5554 GB, free: 19.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.009955, allocations: 68.7 kB / 0.5554 GB, free: 19.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004088/0.01036, allocations: 369 kB / 0.5558 GB, free: 18.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.01056, allocations: 112.2 kB / 0.5559 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.01059, allocations: 62.52 kB / 0.5559 GB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.0106, allocations: 4 kB / 0.5559 GB, free: 18.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.01076, allocations: 194.5 kB / 0.5561 GB, free: 18.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.01076, allocations: 0 / 0.5561 GB, free: 18.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005992/0.01136, allocations: 0.5162 MB / 0.5566 GB, free: 17.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.0114, allocations: 170.2 kB / 0.5568 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.0115, allocations: 206.1 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.01151, allocations: 33.7 kB / 0.557 GB, free: 17.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.01155, allocations: 116.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.01158, allocations: 71.42 kB / 0.5572 GB, free: 17.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.01163, allocations: 55.12 kB / 0.5573 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.01168, allocations: 338.8 kB / 0.5576 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.01174, allocations: 97 kB / 0.5577 GB, free: 16.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.237e-05/0.01182, allocations: 173.3 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.01193, allocations: 218.1 kB / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01193, allocations: 0 / 0.558 GB, free: 16.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001587/0.01209, allocations: 264.2 kB / 0.5583 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.01213, allocations: 63.39 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01213, allocations: 6.656 kB / 0.5584 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01214, allocations: 4 kB / 0.5584 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.01232, allocations: 63.91 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.01232, allocations: 4 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.0124, allocations: 16.2 kB / 0.5584 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01241, allocations: 15.94 kB / 0.5585 GB, free: 15.86 MB / 410.7 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.0001191/0.01253, allocations: 167.6 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01255, allocations: 19.98 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.01258, allocations: 25.95 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01258, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01258, allocations: 0 / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.0126, allocations: 19.89 kB / 0.5587 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.01261, allocations: 3.938 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.01264, allocations: 12 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.01269, allocations: 15.98 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.01273, allocations: 19.97 kB / 0.5587 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001916/0.01292, allocations: 274.9 kB / 0.559 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002005/0.01312, allocations: 419.1 kB / 0.5594 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2695/0.2827, allocations: 77.8 kB / 0.5595 GB, free: 79.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2828, allocations: 62.39 kB / 0.5595 GB, free: 79.63 MB / 410.8 MB Notification: Performance of Backend: time 3.2e-07/0.2828, allocations: 3.812 kB / 0.5595 GB, free: 79.63 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.2832, allocations: 341.6 kB / 0.5599 GB, free: 79.39 MB / 410.8 MB Notification: Performance of SimCode: time 0.0056/0.2888, allocations: 1.109 MB / 0.5609 GB, free: 78.58 MB / 410.8 MB Notification: Performance of Templates: time 0.006259/0.2951, allocations: 3.881 MB / 0.5647 GB, free: 78.42 MB / 410.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 -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08D_SelectiveCalciumChannelBlockersWithDirectCardiac.C08DB01_Diltiazem.Diltiazem_Klle1983_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.703729364089668]