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.0009213/0.0009213, allocations: 76.19 kB / 9.879 MB, free: 0.8086 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002171, allocations: 439.8 kB / 10.31 MB, free: 388 kB / 10.45 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.0009454/0.0009454, allocations: 157.2 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009334/0.001879, allocations: 467.6 kB / 11.66 MB, free: 2.512 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.111/1.111, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08759/1.198, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.8149/0.8149, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03134/0.8463, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.723e-06/1.723e-06, allocations: 0 / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.493e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2): time 0.002093/0.002118, allocations: 0.6963 MB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.861e-05/0.002157, allocations: 3.938 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.002177, allocations: 4 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.162e-06/0.002183, allocations: 0 / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.354e-05/0.002197, allocations: 3.938 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.442e-05/0.002231, allocations: 7.984 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.002293, allocations: 15.92 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.002341, allocations: 3.984 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.002404, allocations: 15.94 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.002463, allocations: 7.984 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.002487, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-06/0.002493, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.002507, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.002532, allocations: 7.938 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.002602, allocations: 7.984 kB / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.83e-05/0.002621, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002622, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.002636, allocations: 0 / 0.5452 GB, free: 29.83 MB / 410.7 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.0003495/0.002985, allocations: 239 kB / 0.5455 GB, free: 29.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.003026, allocations: 15.89 kB / 0.5455 GB, free: 29.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.003052, allocations: 4.938 kB / 0.5455 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.76e-05/0.00313, allocations: 109.8 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.003144, allocations: 4.359 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.003151, allocations: 4.375 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.003229, allocations: 38.2 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.003238, allocations: 4.172 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.003248, allocations: 3.688 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.003254, allocations: 4.312 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.003276, allocations: 11.92 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.348e-05/0.00337, allocations: 61.05 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.003549, allocations: 46.59 kB / 0.5457 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.003571, allocations: 12.86 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.00358, allocations: 4.031 kB / 0.5458 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.0036, allocations: 38.55 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.003601, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.817e-05/0.003699, allocations: 41.69 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.003728, allocations: 51.41 kB / 0.5459 GB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.907e-05/0.003777, allocations: 102.7 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.003789, allocations: 25.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.003803, allocations: 88.12 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.003835, allocations: 19.83 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.00387, allocations: 13.72 kB / 0.5461 GB, free: 28.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.003912, allocations: 322.8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.003922, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.003935, allocations: 11.92 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.003966, allocations: 12.86 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.003968, allocations: 0 / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.521e-05/0.004034, allocations: 41.69 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.004049, allocations: 4 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.004054, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.004064, allocations: 4 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.004127, allocations: 11.98 kB / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-06/0.00413, allocations: 0 / 0.5465 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.004145, allocations: 7.938 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.00415, allocations: 4 kB / 0.5465 GB, free: 28.34 MB / 410.7 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 4.748e-05/0.004197, allocations: 109.8 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.004208, allocations: 4 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.00423, allocations: 7.688 kB / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.004232, allocations: 0 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.004234, allocations: 336 / 0.5466 GB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.004236, allocations: 4 kB / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.673e-05/0.004303, allocations: 73.83 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.004305, allocations: 3.125 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.004335, allocations: 7.938 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-06/0.004344, allocations: 11.97 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.004345, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.004349, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.00435, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.004351, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.174e-05/0.004432, allocations: 80.98 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.004441, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.004452, allocations: 4 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.004463, allocations: 0 / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.004467, allocations: 4 kB / 0.5468 GB, free: 28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.127e-05/0.004478, allocations: 4.859 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004478, allocations: 4 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.004635, allocations: 8 kB / 0.5468 GB, free: 27.98 MB / 410.7 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 9.184e-05/0.004727, allocations: 84.41 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.587e-05/0.004803, allocations: 16.86 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.004806, allocations: 0 / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.004818, allocations: 20.78 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.779e-05/0.004895, allocations: 7.938 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.005126, allocations: 132.4 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.734e-05/0.005154, allocations: 59.34 kB / 0.5472 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.005169, allocations: 4 kB / 0.5472 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.005203, allocations: 51.38 kB / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.005204, allocations: 0 / 0.5472 GB, free: 27.55 MB / 410.7 MB Notification: Performance of Templates: time 0.002427/0.007631, allocations: 470.9 kB / 0.5477 GB, free: 27.15 MB / 410.7 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: 3.2083751633763313]