Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_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.001814/0.001814, allocations: 105.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.001943/0.001943, allocations: 215.5 kB / 22.25 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.711/1.711, allocations: 230.6 MB / 256 MB, free: 9.602 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.391/1.391, allocations: 316.7 MB / 0.6144 GB, free: 92.84 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.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_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.003906/0.003906, allocations: 78 kB / 0.775 GB, free: 14.65 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1698, allocations: 73.99 MB / 0.8472 GB, free: 4.801 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference): time 0.003959/0.1737, allocations: 2.279 MB / 0.8494 GB, free: 2.523 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3153/0.489, allocations: 6.533 MB / 0.8558 GB, free: 22.09 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.4892, allocations: 0 / 0.8558 GB, free: 22.09 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.4893, allocations: 25.81 kB / 0.8558 GB, free: 22.09 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.4895, allocations: 83.39 kB / 0.8559 GB, free: 22.09 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.4898, allocations: 55.52 kB / 0.856 GB, free: 22.09 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.49, allocations: 255.8 kB / 0.8562 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.4902, allocations: 34.97 kB / 0.8562 GB, free: 22.05 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4903, allocations: 101 kB / 0.8563 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.4905, allocations: 102.6 kB / 0.8564 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.4905, allocations: 14.16 kB / 0.8565 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.091e-05/0.4905, allocations: 18.34 kB / 0.8565 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.4906, allocations: 36.77 kB / 0.8565 GB, free: 22 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.963e-05/0.4907, allocations: 92.11 kB / 0.8566 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.4909, allocations: 198 kB / 0.8568 GB, free: 21.95 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4909, allocations: 0 / 0.8568 GB, free: 21.95 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4909, allocations: 3.938 kB / 0.8568 GB, free: 21.94 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4909, allocations: 0 / 0.8568 GB, free: 21.94 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.0008285/0.4917, allocations: 0.4885 MB / 0.8573 GB, free: 21.54 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4918, allocations: 11.5 kB / 0.8573 GB, free: 21.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.4918, allocations: 29.3 kB / 0.8573 GB, free: 21.53 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4921, allocations: 183 kB / 0.8575 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4921, allocations: 10.48 kB / 0.8575 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.4921, allocations: 21.39 kB / 0.8575 GB, free: 21.37 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.4925, allocations: 191.8 kB / 0.8577 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4925, allocations: 0.7812 kB / 0.8577 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.4925, allocations: 5.5 kB / 0.8577 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.4925, allocations: 2.688 kB / 0.8577 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.4929, allocations: 146.9 kB / 0.8578 GB, free: 21.25 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.4936, allocations: 486.5 kB / 0.8583 GB, free: 20.96 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.494, allocations: 172 kB / 0.8585 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.4942, allocations: 89.69 kB / 0.8586 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.4942, allocations: 6.688 kB / 0.8586 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.4945, allocations: 228.5 kB / 0.8588 GB, free: 20.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.475e-06/0.4945, allocations: 0.5625 kB / 0.8588 GB, free: 20.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001353/0.4959, allocations: 0.7029 MB / 0.8595 GB, free: 20.36 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.4959, allocations: 135.2 kB / 0.8596 GB, free: 20.2 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.4961, allocations: 217.2 kB / 0.8598 GB, free: 20.1 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.4961, allocations: 30.7 kB / 0.8598 GB, free: 20.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.4962, allocations: 136.4 kB / 0.86 GB, free: 19.97 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.338e-05/0.4962, allocations: 73.08 kB / 0.86 GB, free: 19.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/0.4963, allocations: 55.53 kB / 0.8601 GB, free: 19.91 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6e-05/0.4964, allocations: 337.4 kB / 0.8604 GB, free: 19.59 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.4966, allocations: 144.4 kB / 0.8605 GB, free: 19.52 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.4968, allocations: 226.6 kB / 0.8608 GB, free: 19.35 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4972, allocations: 273.9 kB / 0.861 GB, free: 19.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4972, allocations: 0.5312 kB / 0.861 GB, free: 19.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005345/0.4977, allocations: 396.2 kB / 0.8614 GB, free: 19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.4978, allocations: 60.19 kB / 0.8615 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.4978, allocations: 8.531 kB / 0.8615 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4978, allocations: 2.406 kB / 0.8615 GB, free: 18.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.498, allocations: 50.75 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.498, allocations: 5.469 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.4982, allocations: 19.94 kB / 0.8615 GB, free: 18.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.4982, allocations: 9.781 kB / 0.8615 GB, free: 18.93 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.0001578/0.4984, allocations: 180 kB / 0.8617 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.4984, allocations: 26.75 kB / 0.8617 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.4985, allocations: 31.41 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4985, allocations: 2.688 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4985, allocations: 0.8438 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4985, allocations: 6.375 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.4992, allocations: 0.539 MB / 0.8623 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4992, allocations: 0.625 kB / 0.8623 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.4993, allocations: 37.8 kB / 0.8623 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4993, allocations: 0 / 0.8623 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4994, allocations: 7.641 kB / 0.8624 GB, free: 18.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4994, allocations: 8.734 kB / 0.8624 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4994, allocations: 0.8438 kB / 0.8624 GB, free: 18.44 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006653/0.5, allocations: 493.6 kB / 0.8628 GB, free: 18.2 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.5001, allocations: 23.89 kB / 0.8629 GB, free: 18.19 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.5001, allocations: 13.06 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.5003, allocations: 12.45 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-05/0.5004, allocations: 24.92 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.5004, allocations: 5.266 kB / 0.8629 GB, free: 18.18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001272/0.5005, allocations: 162.4 kB / 0.8631 GB, free: 18.11 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5005, allocations: 0.5938 kB / 0.8631 GB, free: 18.11 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003054/0.5008, allocations: 50.94 kB / 0.8631 GB, free: 18.11 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.0001056/0.5009, allocations: 120.1 kB / 0.8632 GB, free: 18.01 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005178/0.5014, allocations: 383.4 kB / 0.8636 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5014, allocations: 1.844 kB / 0.8636 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.5017, allocations: 171.4 kB / 0.8638 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.5022, allocations: 73.98 kB / 0.8638 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.5034, allocations: 0.6842 MB / 0.8645 GB, free: 17.35 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.5035, allocations: 126.6 kB / 0.8646 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.5037, allocations: 24.78 kB / 0.8646 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.5037, allocations: 24.2 kB / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of SimCode: time 9.52e-07/0.5037, allocations: 1.375 kB / 0.8647 GB, free: 17.26 MB / 490.8 MB Notification: Performance of Templates: time 0.00879/0.5125, allocations: 3.628 MB / 0.8682 GB, free: 16.95 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A12A_Calcium.A12AA07_CalciumChloride.CalciumChloride_Ansari2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.311102251987904]