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.002015/0.002015, 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.006735/0.006735, allocations: 218.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.804/1.804, allocations: 230.6 MB / 256 MB, free: 9.594 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.399/1.399, allocations: 316.8 MB / 0.6144 GB, free: 93.49 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.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: 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.005515/0.005515, allocations: 81.22 kB / 0.775 GB, free: 15.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1993, allocations: 73.98 MB / 0.8472 GB, free: 5.184 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2): time 0.002607/0.2019, allocations: 0.6284 MB / 0.8479 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.933e-05/0.2019, allocations: 11.92 kB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.202, allocations: 0.75 kB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.202, allocations: 0 / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.202, allocations: 4.438 kB / 0.8479 GB, free: 4.555 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.76e-05/0.2021, allocations: 4.766 kB / 0.8479 GB, free: 4.551 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.2022, allocations: 19.92 kB / 0.8479 GB, free: 4.531 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.2022, allocations: 5.5 kB / 0.8479 GB, free: 4.527 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.612e-05/0.2022, allocations: 0 / 0.8479 GB, free: 4.527 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.193e-05/0.2023, allocations: 15.92 kB / 0.8479 GB, free: 4.512 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2023, allocations: 0 / 0.8479 GB, free: 4.512 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.2023, allocations: 5.469 kB / 0.8479 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2024, allocations: 0 / 0.8479 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.2024, allocations: 3.938 kB / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.7e-05/0.2025, allocations: 19.91 kB / 0.8479 GB, free: 4.484 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2025, allocations: 0.8125 kB / 0.848 GB, free: 4.484 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2025, allocations: 0 / 0.848 GB, free: 4.484 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2025, allocations: 0 / 0.848 GB, free: 4.484 MB / 474.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.0004775/0.2029, allocations: 263.4 kB / 0.8482 GB, free: 4.195 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.203, allocations: 8.031 kB / 0.8482 GB, free: 4.188 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.203, allocations: 5.469 kB / 0.8482 GB, free: 4.184 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2032, allocations: 114.9 kB / 0.8483 GB, free: 4.047 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.557e-06/0.2032, allocations: 4.312 kB / 0.8483 GB, free: 4.043 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.2032, allocations: 0.9688 kB / 0.8483 GB, free: 4.043 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2033, allocations: 42.81 kB / 0.8484 GB, free: 3.996 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2033, allocations: 192 / 0.8484 GB, free: 3.996 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2033, allocations: 4.562 kB / 0.8484 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2033, allocations: 0.5938 kB / 0.8484 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.2034, allocations: 12 kB / 0.8484 GB, free: 3.98 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.2035, allocations: 106 kB / 0.8485 GB, free: 3.848 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2038, allocations: 51.19 kB / 0.8485 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.543e-05/0.2038, allocations: 16.86 kB / 0.8486 GB, free: 3.77 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2038, allocations: 4.75 kB / 0.8486 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.2038, allocations: 31.09 kB / 0.8486 GB, free: 3.727 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2038, allocations: 0 / 0.8486 GB, free: 3.727 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001805/0.204, allocations: 62.28 kB / 0.8486 GB, free: 3.66 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2041, allocations: 59.84 kB / 0.8487 GB, free: 3.59 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.2042, allocations: 97.84 kB / 0.8488 GB, free: 3.484 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.2042, allocations: 30.27 kB / 0.8488 GB, free: 3.449 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.2042, allocations: 84.77 kB / 0.8489 GB, free: 3.363 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2043, allocations: 7.906 kB / 0.8489 GB, free: 3.355 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.2043, allocations: 22.2 kB / 0.8489 GB, free: 3.328 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2045, allocations: 311.5 kB / 0.8492 GB, free: 3.016 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.2045, allocations: 8 kB / 0.8492 GB, free: 3.008 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.373e-05/0.2045, allocations: 4.625 kB / 0.8492 GB, free: 3.004 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.2046, allocations: 24.84 kB / 0.8493 GB, free: 2.977 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2046, allocations: 0.625 kB / 0.8493 GB, free: 2.977 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.172e-05/0.2047, allocations: 50.17 kB / 0.8493 GB, free: 2.922 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2047, allocations: 8 kB / 0.8493 GB, free: 2.914 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2047, allocations: 4.641 kB / 0.8493 GB, free: 2.91 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2047, allocations: 4.562 kB / 0.8493 GB, free: 2.906 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.2048, allocations: 4 kB / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2048, allocations: 0.5625 kB / 0.8493 GB, free: 2.902 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.2048, allocations: 11.89 kB / 0.8493 GB, free: 2.891 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.2048, allocations: 0.75 kB / 0.8493 GB, free: 2.891 MB / 474.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 9.309e-05/0.2049, allocations: 106.4 kB / 0.8495 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.2049, allocations: 4.969 kB / 0.8495 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.2049, allocations: 7.688 kB / 0.8495 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2049, allocations: 3.938 kB / 0.8495 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2049, allocations: 0.5312 kB / 0.8495 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2049, allocations: 5.703 kB / 0.8495 GB, free: 2.758 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.205, allocations: 105.3 kB / 0.8496 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.205, allocations: 0 / 0.8496 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.59e-05/0.2051, allocations: 4 kB / 0.8496 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2051, allocations: 3.938 kB / 0.8496 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2051, allocations: 4.75 kB / 0.8496 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2051, allocations: 3.984 kB / 0.8496 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2051, allocations: 5.688 kB / 0.8496 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2052, allocations: 85.33 kB / 0.8497 GB, free: 2.504 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.2052, allocations: 0 / 0.8497 GB, free: 2.504 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2052, allocations: 4.25 kB / 0.8497 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.203e-05/0.2053, allocations: 7.938 kB / 0.8497 GB, free: 2.492 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.2053, allocations: 9.188 kB / 0.8497 GB, free: 2.484 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2053, allocations: 4 kB / 0.8497 GB, free: 2.48 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.2053, allocations: 83.27 kB / 0.8498 GB, free: 2.398 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2053, allocations: 1.094 kB / 0.8498 GB, free: 2.398 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001748/0.2055, allocations: 4 kB / 0.8498 GB, free: 2.395 MB / 474.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 0.0001258/0.2056, allocations: 104.5 kB / 0.8499 GB, free: 2.281 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.675e-05/0.2057, allocations: 23.92 kB / 0.8499 GB, free: 2.258 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2057, allocations: 0 / 0.8499 GB, free: 2.258 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.586e-05/0.2058, allocations: 13.19 kB / 0.8499 GB, free: 2.246 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.2059, allocations: 0 / 0.8499 GB, free: 2.246 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.2062, allocations: 115.4 kB / 0.85 GB, free: 2.109 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.875e-05/0.2063, allocations: 63.34 kB / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.552e-05/0.2063, allocations: 0 / 0.8501 GB, free: 2.027 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2063, allocations: 7.438 kB / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of SimCode: time 3.91e-07/0.2063, allocations: 0 / 0.8501 GB, free: 2.02 MB / 474.8 MB Notification: Performance of Templates: time 0.003041/0.2094, allocations: 430.9 kB / 0.8505 GB, free: 1.676 MB / 474.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > 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: 7.315380594925955]