Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.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.001851/0.001851, allocations: 105.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.001949/0.001949, allocations: 215.6 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.724/1.724, allocations: 230.6 MB / 256 MB, free: 9.609 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.382/1.382, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol") [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.004049/0.004049, allocations: 69.48 kB / 0.775 GB, free: 14.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1525, allocations: 73.99 MB / 0.8472 GB, free: 4.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol): time 0.003873/0.1563, allocations: 2.308 MB / 0.8495 GB, free: 2.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3416/0.4979, allocations: 6.525 MB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.4982, allocations: 2.5 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.4983, allocations: 28.19 kB / 0.8559 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.4986, allocations: 82.7 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.4989, allocations: 52.38 kB / 0.856 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.4992, allocations: 259.2 kB / 0.8563 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.4993, allocations: 33.59 kB / 0.8563 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.4995, allocations: 102.7 kB / 0.8564 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.4997, allocations: 92.19 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.4997, allocations: 20.75 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.4998, allocations: 14.34 kB / 0.8565 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.4998, allocations: 42.81 kB / 0.8566 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4999, allocations: 96.53 kB / 0.8567 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.5002, allocations: 197.1 kB / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5002, allocations: 0 / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5002, allocations: 0 / 0.8568 GB, free: 21.84 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5002, allocations: 0 / 0.8568 GB, free: 21.84 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.0008446/0.501, allocations: 495.7 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5011, allocations: 11.84 kB / 0.8573 GB, free: 21.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.04e-05/0.5011, allocations: 23.17 kB / 0.8573 GB, free: 21.43 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.5014, allocations: 190.5 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.5014, allocations: 8.641 kB / 0.8575 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.616e-05/0.5014, allocations: 22.8 kB / 0.8576 GB, free: 21.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.5018, allocations: 189.9 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.5018, allocations: 2.031 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.5018, allocations: 6.906 kB / 0.8577 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.5019, allocations: 2.469 kB / 0.8578 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.5022, allocations: 148.8 kB / 0.8579 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007552/0.503, allocations: 488.2 kB / 0.8584 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.5034, allocations: 170.5 kB / 0.8585 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5036, allocations: 98.23 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.5036, allocations: 5.469 kB / 0.8586 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.5039, allocations: 223 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.5039, allocations: 1.312 kB / 0.8588 GB, free: 20.61 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001403/0.5054, allocations: 0.7042 MB / 0.8595 GB, free: 20.25 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.5054, allocations: 137.5 kB / 0.8597 GB, free: 20.1 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.5056, allocations: 215.9 kB / 0.8599 GB, free: 19.99 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.5056, allocations: 34.92 kB / 0.8599 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.5057, allocations: 133.8 kB / 0.86 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.5057, allocations: 72.84 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.5058, allocations: 52.92 kB / 0.8601 GB, free: 19.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.5059, allocations: 337.2 kB / 0.8605 GB, free: 19.49 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.5061, allocations: 144.6 kB / 0.8606 GB, free: 19.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.5063, allocations: 224.2 kB / 0.8608 GB, free: 19.25 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.5067, allocations: 284.1 kB / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5067, allocations: 0 / 0.8611 GB, free: 19.08 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005443/0.5072, allocations: 388.2 kB / 0.8615 GB, free: 18.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.5073, allocations: 65.05 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5073, allocations: 7.844 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5073, allocations: 4.312 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.5075, allocations: 52.77 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5075, allocations: 6.391 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.5077, allocations: 15.66 kB / 0.8616 GB, free: 18.83 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.5077, allocations: 9.219 kB / 0.8616 GB, free: 18.83 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.0001736/0.5079, allocations: 177.7 kB / 0.8618 GB, free: 18.68 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.5079, allocations: 23.39 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.508, allocations: 28.34 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.508, allocations: 1.406 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.508, allocations: 5.141 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.508, allocations: 3.906 kB / 0.8618 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.5086, allocations: 0.5384 MB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5086, allocations: 1.469 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.5088, allocations: 42 kB / 0.8624 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5088, allocations: 8.406 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.5088, allocations: 8 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5089, allocations: 4.75 kB / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5089, allocations: 0 / 0.8624 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.5095, allocations: 497.6 kB / 0.8629 GB, free: 18.09 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.5095, allocations: 22.41 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.5096, allocations: 8.531 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.5098, allocations: 17.64 kB / 0.8629 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.5098, allocations: 18.8 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.5098, allocations: 8.281 kB / 0.863 GB, free: 18.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001199/0.51, allocations: 162.5 kB / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of sort global known variables: time 9e-08/0.51, allocations: 0 / 0.8631 GB, free: 18 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002911/0.5103, allocations: 54.11 kB / 0.8632 GB, free: 18 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.0001073/0.5104, allocations: 115.4 kB / 0.8633 GB, free: 17.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000538/0.5109, allocations: 384 kB / 0.8637 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5109, allocations: 0 / 0.8637 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002303/0.5111, allocations: 169.3 kB / 0.8638 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.5116, allocations: 76.7 kB / 0.8639 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.5129, allocations: 0.6766 MB / 0.8645 GB, free: 17.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.5131, allocations: 122.7 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.5132, allocations: 25.41 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.5132, allocations: 24.11 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.5132, allocations: 3.938 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.008641/0.5219, allocations: 3.639 MB / 0.8683 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A11H_OtherPlainVitaminPreparations.A11HA07_Inositol.Inositol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.4074251390993595]