Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.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.002693/0.002693, allocations: 101.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.002935/0.002935, allocations: 214.4 kB / 22.25 MB, free: 3.57 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.714/1.714, allocations: 230.6 MB / 256 MB, free: 9.645 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.498/1.498, allocations: 316.7 MB / 0.6144 GB, free: 93.53 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.C08CA04_Nicardipine.Nicardipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine") [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.004222/0.004222, allocations: 69.73 kB / 0.775 GB, free: 14.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1921, allocations: 73.99 MB / 0.8473 GB, free: 5.137 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine): time 0.004349/0.1964, allocations: 2.31 MB / 0.8495 GB, free: 2.828 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3142/0.5106, allocations: 6.52 MB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.5109, allocations: 6.062 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.511, allocations: 25.67 kB / 0.8559 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.5113, allocations: 83.39 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.5115, allocations: 53.94 kB / 0.856 GB, free: 21.66 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.5118, allocations: 256.4 kB / 0.8563 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.5119, allocations: 43.97 kB / 0.8563 GB, free: 21.63 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.5121, allocations: 96.77 kB / 0.8564 GB, free: 21.62 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.5123, allocations: 99.98 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.5123, allocations: 15.91 kB / 0.8565 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.5123, allocations: 17.28 kB / 0.8566 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.5124, allocations: 40.89 kB / 0.8566 GB, free: 21.59 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.5125, allocations: 94.12 kB / 0.8567 GB, free: 21.56 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.5127, allocations: 195 kB / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5127, allocations: 0 / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5127, allocations: 0 / 0.8569 GB, free: 21.53 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5127, allocations: 0.75 kB / 0.8569 GB, free: 21.53 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.0007937/0.5135, allocations: 497.9 kB / 0.8573 GB, free: 21.13 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.5135, allocations: 11.59 kB / 0.8574 GB, free: 21.13 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.5136, allocations: 23.52 kB / 0.8574 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.5138, allocations: 186 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.5138, allocations: 12.2 kB / 0.8576 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.5139, allocations: 22.69 kB / 0.8576 GB, free: 20.95 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.5142, allocations: 188 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5142, allocations: 4 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.5142, allocations: 9.281 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5142, allocations: 3.188 kB / 0.8578 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.5146, allocations: 145.5 kB / 0.8579 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.5153, allocations: 485.7 kB / 0.8584 GB, free: 20.54 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004695/0.5158, allocations: 173.2 kB / 0.8585 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.5159, allocations: 96.41 kB / 0.8586 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.5159, allocations: 0.5938 kB / 0.8586 GB, free: 20.45 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.5162, allocations: 229.5 kB / 0.8589 GB, free: 20.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.5162, allocations: 0.5938 kB / 0.8589 GB, free: 20.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00132/0.5175, allocations: 0.7046 MB / 0.8595 GB, free: 19.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5176, allocations: 140 kB / 0.8597 GB, free: 19.78 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.5178, allocations: 211.2 kB / 0.8599 GB, free: 19.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5178, allocations: 38.55 kB / 0.8599 GB, free: 19.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.5178, allocations: 132.9 kB / 0.86 GB, free: 19.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.5179, allocations: 72.14 kB / 0.8601 GB, free: 19.51 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.518, allocations: 49.84 kB / 0.8602 GB, free: 19.49 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.518, allocations: 334.8 kB / 0.8605 GB, free: 19.18 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.5182, allocations: 148.4 kB / 0.8606 GB, free: 19.1 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.5185, allocations: 223.8 kB / 0.8608 GB, free: 18.93 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.5188, allocations: 278.7 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5188, allocations: 0.5938 kB / 0.8611 GB, free: 18.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005131/0.5193, allocations: 390 kB / 0.8615 GB, free: 18.59 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.5194, allocations: 68.5 kB / 0.8615 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5194, allocations: 7.25 kB / 0.8615 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5194, allocations: 5.094 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.5196, allocations: 49.84 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.5196, allocations: 4 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.5198, allocations: 20.22 kB / 0.8616 GB, free: 18.52 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.5198, allocations: 11.19 kB / 0.8616 GB, free: 18.52 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.0001519/0.52, allocations: 177.3 kB / 0.8618 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.52, allocations: 22.8 kB / 0.8618 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.52, allocations: 31.05 kB / 0.8619 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.52, allocations: 6.031 kB / 0.8619 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.52, allocations: 0.625 kB / 0.8619 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.52, allocations: 0.7188 kB / 0.8619 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.5207, allocations: 0.5406 MB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5207, allocations: 3.938 kB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.5209, allocations: 35.28 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5209, allocations: 2.812 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.5209, allocations: 13.69 kB / 0.8624 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5209, allocations: 5.891 kB / 0.8624 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5209, allocations: 4 kB / 0.8625 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.5215, allocations: 495.9 kB / 0.8629 GB, free: 17.78 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.5216, allocations: 20.25 kB / 0.8629 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.5216, allocations: 9.719 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.5218, allocations: 15.58 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.5219, allocations: 20.97 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.5219, allocations: 13.36 kB / 0.863 GB, free: 17.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001147/0.522, allocations: 156.8 kB / 0.8631 GB, free: 17.69 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.522, allocations: 0.7188 kB / 0.8632 GB, free: 17.69 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003066/0.5223, allocations: 60.19 kB / 0.8632 GB, free: 17.69 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.0001009/0.5224, allocations: 109.2 kB / 0.8633 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.5229, allocations: 380.6 kB / 0.8637 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5229, allocations: 1.875 kB / 0.8637 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.5232, allocations: 173.1 kB / 0.8638 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004618/0.5236, allocations: 70.38 kB / 0.8639 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.5248, allocations: 0.6805 MB / 0.8646 GB, free: 16.96 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.5249, allocations: 123.3 kB / 0.8647 GB, free: 16.88 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001036/0.525, allocations: 29.89 kB / 0.8647 GB, free: 16.88 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.525, allocations: 21.22 kB / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of SimCode: time 4.11e-07/0.5251, allocations: 0 / 0.8647 GB, free: 16.87 MB / 490.8 MB Notification: Performance of Templates: time 0.008584/0.5336, allocations: 3.65 MB / 0.8683 GB, free: 16.54 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C08C_SelectiveCalciumChannelBlockersWithMainlyVascula.C08CA04_Nicardipine.Nicardipine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.6639052531681955]