Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.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.001041/0.001041, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009884/0.0009884, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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 0.9333/0.9333, allocations: 177.1 MB / 203.5 MB, free: 5.375 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6783/0.6783, allocations: 291.2 MB / 0.5382 GB, free: 51.55 MB / 410.7 MB " [Timeout remaining time 179] 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.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.895e-05, allocations: 10.22 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2): time 0.0009654/0.0009844, allocations: 0.625 MB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.434e-05/0.001029, allocations: 11.91 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.001057, allocations: 0 / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.001071, allocations: 3.938 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.559e-05/0.001097, allocations: 4 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.916e-05/0.001146, allocations: 8 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.87e-05/0.001195, allocations: 7.984 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.001244, allocations: 7.938 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.00128, allocations: 11.98 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.001327, allocations: 3.984 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.001349, allocations: 4 kB / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-06/0.001354, allocations: 0 / 0.698 GB, free: 9.699 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.001368, allocations: 3.938 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.001388, allocations: 15.92 kB / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.483e-05/0.001443, allocations: 15.91 kB / 0.6981 GB, free: 9.664 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001445, allocations: 0 / 0.6981 GB, free: 9.664 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.012e-06/0.001446, allocations: 4 kB / 0.6981 GB, free: 9.66 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.00145, allocations: 0 / 0.6981 GB, free: 9.66 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002784/0.001729, allocations: 250.4 kB / 0.6983 GB, free: 9.383 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.001764, allocations: 12.03 kB / 0.6983 GB, free: 9.371 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.00179, allocations: 0.9375 kB / 0.6983 GB, free: 9.371 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.538e-05/0.001845, allocations: 109.8 kB / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.001855, allocations: 384 / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.001863, allocations: 4.375 kB / 0.6984 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.857e-05/0.001942, allocations: 42.25 kB / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.00195, allocations: 192 / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.001959, allocations: 384 / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.001963, allocations: 384 / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.002001, allocations: 19.88 kB / 0.6985 GB, free: 9.168 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.548e-05/0.002097, allocations: 109.3 kB / 0.6986 GB, free: 9.031 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.002246, allocations: 42.64 kB / 0.6986 GB, free: 8.98 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.616e-05/0.002272, allocations: 16.86 kB / 0.6986 GB, free: 8.961 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.002283, allocations: 0 / 0.6986 GB, free: 8.961 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.119e-05/0.002294, allocations: 30.56 kB / 0.6987 GB, free: 8.922 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.002295, allocations: 7.938 kB / 0.6987 GB, free: 8.914 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001219/0.002416, allocations: 65.89 kB / 0.6987 GB, free: 8.844 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.002441, allocations: 55.34 kB / 0.6988 GB, free: 8.777 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.315e-05/0.002484, allocations: 109.8 kB / 0.6989 GB, free: 8.66 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-06/0.002489, allocations: 25.7 kB / 0.6989 GB, free: 8.629 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.002499, allocations: 80.14 kB / 0.699 GB, free: 8.547 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.002523, allocations: 15.84 kB / 0.699 GB, free: 8.531 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.002541, allocations: 17.7 kB / 0.699 GB, free: 8.508 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.753e-05/0.002569, allocations: 318.8 kB / 0.6993 GB, free: 8.188 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.002581, allocations: 4 kB / 0.6993 GB, free: 8.184 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.002591, allocations: 4 kB / 0.6993 GB, free: 8.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.00262, allocations: 28.84 kB / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.002622, allocations: 0 / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.092e-05/0.002663, allocations: 53.62 kB / 0.6994 GB, free: 8.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.002674, allocations: 4 kB / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.002678, allocations: 0 / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.002691, allocations: 0 / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3e-05/0.002721, allocations: 8 kB / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.002725, allocations: 0 / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.002737, allocations: 7.891 kB / 0.6994 GB, free: 8.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.002741, allocations: 0 / 0.6994 GB, free: 8.07 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 3.526e-05/0.002776, allocations: 118.5 kB / 0.6996 GB, free: 7.945 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-06/0.002779, allocations: 0 / 0.6996 GB, free: 7.945 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.493e-05/0.002794, allocations: 3.688 kB / 0.6996 GB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.002796, allocations: 0 / 0.6996 GB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.002799, allocations: 7.984 kB / 0.6996 GB, free: 7.934 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.002802, allocations: 3.938 kB / 0.6996 GB, free: 7.93 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.848e-05/0.002841, allocations: 105.3 kB / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.002841, allocations: 0 / 0.6997 GB, free: 7.797 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.345e-05/0.002855, allocations: 11.94 kB / 0.6997 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.002855, allocations: 0 / 0.6997 GB, free: 7.785 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.002862, allocations: 4 kB / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.002863, allocations: 7.984 kB / 0.6997 GB, free: 7.773 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.002864, allocations: 0 / 0.6997 GB, free: 7.773 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.762e-05/0.002911, allocations: 77.27 kB / 0.6998 GB, free: 7.68 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.002916, allocations: 7.938 kB / 0.6998 GB, free: 7.672 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.002923, allocations: 4 kB / 0.6998 GB, free: 7.668 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.00293, allocations: 0 / 0.6998 GB, free: 7.668 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.002942, allocations: 4 kB / 0.6998 GB, free: 7.664 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.002944, allocations: 4 kB / 0.6998 GB, free: 7.66 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.278e-05/0.002956, allocations: 83.27 kB / 0.6999 GB, free: 7.578 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.002956, allocations: 0 / 0.6999 GB, free: 7.578 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001051/0.003062, allocations: 7.938 kB / 0.6999 GB, free: 7.57 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.426e-05/0.003116, allocations: 111.2 kB / 0.7 GB, free: 7.453 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.003179, allocations: 19.92 kB / 0.7 GB, free: 7.434 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.003181, allocations: 4 kB / 0.7 GB, free: 7.43 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-06/0.003191, allocations: 8 kB / 0.7 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.003294, allocations: 7.75 kB / 0.7 GB, free: 7.418 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001931/0.003488, allocations: 138.9 kB / 0.7001 GB, free: 7.25 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.459e-05/0.003512, allocations: 67.28 kB / 0.7002 GB, free: 7.164 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.003533, allocations: 16.5 kB / 0.7002 GB, free: 7.148 MB / 410.8 MB Notification: Performance of SimCode: time 3.81e-07/0.003533, allocations: 0 / 0.7002 GB, free: 7.148 MB / 410.8 MB Notification: Performance of Templates: time 0.001231/0.004764, allocations: 0.5241 MB / 0.7007 GB, free: 6.633 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.106260928325355]