Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_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.00184/0.00184, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.001987/0.001987, allocations: 215.6 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.76/1.76, allocations: 230.6 MB / 256 MB, free: 9.586 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.412/1.412, allocations: 316.8 MB / 0.6144 GB, free: 93.5 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.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_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.003869/0.003869, allocations: 73.2 kB / 0.775 GB, free: 14.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1544, allocations: 74 MB / 0.8473 GB, free: 5.082 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference): time 0.004061/0.1585, allocations: 2.277 MB / 0.8495 GB, free: 2.805 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3366/0.4951, allocations: 6.532 MB / 0.8559 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.4954, allocations: 2.281 kB / 0.8559 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.4955, allocations: 22.91 kB / 0.8559 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.4958, allocations: 80.45 kB / 0.856 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.496, allocations: 55.69 kB / 0.856 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.4963, allocations: 261.2 kB / 0.8563 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.4965, allocations: 34.55 kB / 0.8563 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.4966, allocations: 98.64 kB / 0.8564 GB, free: 21.57 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.4968, allocations: 100.8 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.4968, allocations: 17.41 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.088e-05/0.4969, allocations: 17.03 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.4969, allocations: 32.02 kB / 0.8565 GB, free: 21.54 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.393e-05/0.497, allocations: 96.41 kB / 0.8566 GB, free: 21.51 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.4973, allocations: 200.9 kB / 0.8568 GB, free: 21.48 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4973, allocations: 0 / 0.8568 GB, free: 21.48 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4973, allocations: 0 / 0.8568 GB, free: 21.48 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.802e-06/0.4973, allocations: 0 / 0.8568 GB, free: 21.48 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.0008053/0.4981, allocations: 499.3 kB / 0.8573 GB, free: 21.08 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4981, allocations: 9.656 kB / 0.8573 GB, free: 21.08 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.4982, allocations: 26.95 kB / 0.8573 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.4984, allocations: 188 kB / 0.8575 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.4984, allocations: 12.55 kB / 0.8575 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.4984, allocations: 18.3 kB / 0.8575 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.4988, allocations: 190.9 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4988, allocations: 0.5156 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.4988, allocations: 6.906 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4988, allocations: 3.109 kB / 0.8577 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.4992, allocations: 147.2 kB / 0.8579 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.4998, allocations: 483.5 kB / 0.8583 GB, free: 20.49 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.5003, allocations: 181.2 kB / 0.8585 GB, free: 20.43 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.5005, allocations: 91.52 kB / 0.8586 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.5005, allocations: 5.719 kB / 0.8586 GB, free: 20.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.5008, allocations: 227.8 kB / 0.8588 GB, free: 20.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.232e-06/0.5008, allocations: 0 / 0.8588 GB, free: 20.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001285/0.502, allocations: 0.6985 MB / 0.8595 GB, free: 19.89 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.5021, allocations: 136 kB / 0.8596 GB, free: 19.73 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.5023, allocations: 217.7 kB / 0.8598 GB, free: 19.63 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.5023, allocations: 32.55 kB / 0.8599 GB, free: 19.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.5024, allocations: 136.8 kB / 0.86 GB, free: 19.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.5024, allocations: 70.8 kB / 0.8601 GB, free: 19.46 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.5025, allocations: 56.56 kB / 0.8601 GB, free: 19.44 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.5025, allocations: 336.7 kB / 0.8604 GB, free: 19.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.5028, allocations: 143.8 kB / 0.8606 GB, free: 19.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.503, allocations: 221.7 kB / 0.8608 GB, free: 18.88 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.5033, allocations: 277.9 kB / 0.8611 GB, free: 18.72 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5033, allocations: 3.562 kB / 0.8611 GB, free: 18.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005219/0.5039, allocations: 394.1 kB / 0.8614 GB, free: 18.54 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.5039, allocations: 64.59 kB / 0.8615 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.5039, allocations: 6.531 kB / 0.8615 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5039, allocations: 3.812 kB / 0.8615 GB, free: 18.47 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.5041, allocations: 52.84 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.5041, allocations: 4.094 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.5043, allocations: 15.92 kB / 0.8616 GB, free: 18.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.5043, allocations: 10.97 kB / 0.8616 GB, free: 18.46 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.0001465/0.5045, allocations: 175.4 kB / 0.8618 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.5045, allocations: 27.91 kB / 0.8618 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.5045, allocations: 28.36 kB / 0.8618 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5045, allocations: 1.219 kB / 0.8618 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5045, allocations: 9 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5045, allocations: 2.719 kB / 0.8618 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006397/0.5052, allocations: 0.5417 MB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.5052, allocations: 4.281 kB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.5054, allocations: 35.97 kB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5054, allocations: 0 / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5054, allocations: 10.61 kB / 0.8624 GB, free: 17.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5054, allocations: 3.938 kB / 0.8624 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5054, allocations: 0 / 0.8624 GB, free: 17.97 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.506, allocations: 0.4917 MB / 0.8629 GB, free: 17.73 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.506, allocations: 21.36 kB / 0.8629 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.5061, allocations: 9.906 kB / 0.8629 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5062, allocations: 11.28 kB / 0.8629 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.5063, allocations: 26.31 kB / 0.863 GB, free: 17.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.5063, allocations: 4.188 kB / 0.863 GB, free: 17.72 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001165/0.5064, allocations: 161.9 kB / 0.8631 GB, free: 17.64 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.5064, allocations: 1.219 kB / 0.8631 GB, free: 17.64 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003002/0.5067, allocations: 58 kB / 0.8632 GB, free: 17.64 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.0001096/0.5069, allocations: 112.2 kB / 0.8633 GB, free: 17.55 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.5074, allocations: 381.3 kB / 0.8636 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5074, allocations: 5.344 kB / 0.8636 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.5076, allocations: 166.1 kB / 0.8638 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.5081, allocations: 68.84 kB / 0.8639 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.5092, allocations: 0.6848 MB / 0.8645 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5093, allocations: 127.6 kB / 0.8647 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 9.505e-05/0.5094, allocations: 19.86 kB / 0.8647 GB, free: 16.82 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5095, allocations: 24.23 kB / 0.8647 GB, free: 16.81 MB / 490.8 MB Notification: Performance of SimCode: time 7.71e-07/0.5095, allocations: 5.531 kB / 0.8647 GB, free: 16.8 MB / 490.8 MB Notification: Performance of Templates: time 0.008215/0.5177, allocations: 3.641 MB / 0.8683 GB, free: 16.48 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol_Phelps2016_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.446038994006813]