Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_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.001899/0.001899, allocations: 109.5 kB / 18.95 MB, free: 1.176 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.001947/0.001947, allocations: 218.4 kB / 22.26 MB, free: 3.566 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.775/1.775, 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.471/1.471, allocations: 316.7 MB / 0.6144 GB, free: 92.93 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.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_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.003861/0.003861, allocations: 77.97 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1725, allocations: 73.99 MB / 0.8472 GB, free: 4.949 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference): time 0.004324/0.1768, allocations: 2.301 MB / 0.8495 GB, free: 2.648 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3335/0.5103, allocations: 6.522 MB / 0.8558 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.5106, allocations: 0.9375 kB / 0.8558 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.5107, allocations: 24.47 kB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.511, allocations: 82 kB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.5112, allocations: 56.38 kB / 0.856 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.5115, allocations: 253.7 kB / 0.8562 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.5117, allocations: 36.5 kB / 0.8563 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.5118, allocations: 101.1 kB / 0.8564 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.512, allocations: 96.95 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.5121, allocations: 18.81 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.89e-05/0.5121, allocations: 15.72 kB / 0.8565 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.5122, allocations: 39.52 kB / 0.8565 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.5123, allocations: 90.41 kB / 0.8566 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.5125, allocations: 203.4 kB / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5125, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5125, allocations: 0 / 0.8568 GB, free: 21.82 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.5125, allocations: 1.969 kB / 0.8568 GB, free: 21.82 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.000836/0.5133, allocations: 497.4 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5134, allocations: 12.89 kB / 0.8573 GB, free: 21.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.5134, allocations: 24.61 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.5137, allocations: 184.5 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5137, allocations: 12.36 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.5137, allocations: 21.14 kB / 0.8575 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.5141, allocations: 189.4 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5141, allocations: 2.688 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5141, allocations: 4.562 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5141, allocations: 4.375 kB / 0.8577 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.5144, allocations: 147.7 kB / 0.8579 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.5152, allocations: 482.3 kB / 0.8583 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.5156, allocations: 173.5 kB / 0.8585 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.5158, allocations: 101.6 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.5158, allocations: 2.812 kB / 0.8586 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003075/0.5161, allocations: 229 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.5161, allocations: 0.625 kB / 0.8588 GB, free: 20.59 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001354/0.5175, allocations: 0.7073 MB / 0.8595 GB, free: 20.23 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.5175, allocations: 139.8 kB / 0.8596 GB, free: 20.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.5177, allocations: 211.3 kB / 0.8598 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.5177, allocations: 32.45 kB / 0.8599 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.5178, allocations: 140.8 kB / 0.86 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.5178, allocations: 74.39 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.5179, allocations: 49.2 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.518, allocations: 336 kB / 0.8604 GB, free: 19.47 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.5182, allocations: 146.6 kB / 0.8606 GB, free: 19.39 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.5185, allocations: 221.2 kB / 0.8608 GB, free: 19.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.519, allocations: 283.5 kB / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.519, allocations: 0 / 0.8611 GB, free: 19.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006362/0.5196, allocations: 391.7 kB / 0.8614 GB, free: 18.88 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.5196, allocations: 63.66 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5197, allocations: 6.344 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.5197, allocations: 5.031 kB / 0.8615 GB, free: 18.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.5199, allocations: 52.28 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.5199, allocations: 4.094 kB / 0.8616 GB, free: 18.81 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.5201, allocations: 22.3 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.5201, allocations: 12.28 kB / 0.8616 GB, free: 18.8 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.0002044/0.5203, allocations: 175.8 kB / 0.8618 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.5204, allocations: 24.67 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.5204, allocations: 30.11 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5204, allocations: 4.141 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5204, allocations: 0.625 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5204, allocations: 0 / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007807/0.5212, allocations: 0.5383 MB / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5212, allocations: 0.625 kB / 0.8623 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.5214, allocations: 33.84 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5214, allocations: 0.875 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.5214, allocations: 9.828 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.5214, allocations: 9.812 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5214, allocations: 0.875 kB / 0.8624 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.5222, allocations: 0.4914 MB / 0.8629 GB, free: 18.07 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.5222, allocations: 24.06 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.5223, allocations: 7.812 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5224, allocations: 15.11 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.5225, allocations: 25.47 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.5226, allocations: 6.312 kB / 0.863 GB, free: 18.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000141/0.5227, allocations: 158.8 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5227, allocations: 2.094 kB / 0.8631 GB, free: 17.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003255/0.523, allocations: 55.81 kB / 0.8632 GB, free: 17.98 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.0001303/0.5232, allocations: 112.7 kB / 0.8633 GB, free: 17.89 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.5237, allocations: 383.1 kB / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5237, allocations: 0.9062 kB / 0.8636 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.524, allocations: 174.8 kB / 0.8638 GB, free: 17.56 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.5244, allocations: 66.44 kB / 0.8639 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5258, allocations: 0.6834 MB / 0.8645 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.526, allocations: 126.2 kB / 0.8647 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.5261, allocations: 26.28 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.5261, allocations: 20.23 kB / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of SimCode: time 4.51e-07/0.5261, allocations: 0 / 0.8647 GB, free: 17.16 MB / 490.8 MB Notification: Performance of Templates: time 0.009451/0.5356, allocations: 3.653 MB / 0.8683 GB, free: 16.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA05_Nifedipine.Nifedipine_Fu2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.449457589071244]