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.001056/0.001056, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001086/0.001086, allocations: 218.1 kB / 23 MB, free: 2.988 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 0.9322/0.9322, allocations: 230.6 MB / 256.8 MB, free: 9.617 MB / 202.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.7077/0.7077, allocations: 312.3 MB / 0.6108 GB, free: 97.17 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: 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.001434/0.001434, allocations: 77.27 kB / 0.7699 GB, free: 19.71 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 74 MB / 0.8421 GB, free: 9.844 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2): time 0.001326/0.1189, allocations: 0.6218 MB / 0.8427 GB, free: 9.238 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.876e-05/0.1189, allocations: 12.59 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.119, allocations: 0 / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.119, allocations: 0.625 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.126e-05/0.119, allocations: 4.5 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.329e-05/0.1191, allocations: 8 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.381e-05/0.1191, allocations: 12.55 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1192, allocations: 4.5 kB / 0.8428 GB, free: 9.199 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.805e-05/0.1192, allocations: 11.92 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.1192, allocations: 0.5625 kB / 0.8428 GB, free: 9.188 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1192, allocations: 4.5 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.428e-06/0.1192, allocations: 0.625 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.1193, allocations: 11.92 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.1193, allocations: 0.5938 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.95e-05/0.1193, allocations: 11.92 kB / 0.8428 GB, free: 9.16 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1193, allocations: 0.5625 kB / 0.8428 GB, free: 9.16 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1193, allocations: 0.5938 kB / 0.8428 GB, free: 9.16 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1193, allocations: 0 / 0.8428 GB, free: 9.16 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.0002857/0.1196, allocations: 263.3 kB / 0.8431 GB, free: 8.871 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1197, allocations: 12.03 kB / 0.8431 GB, free: 8.859 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.1197, allocations: 1.5 kB / 0.8431 GB, free: 8.859 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.1198, allocations: 115.1 kB / 0.8432 GB, free: 8.723 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1198, allocations: 4.375 kB / 0.8432 GB, free: 8.719 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1198, allocations: 4.906 kB / 0.8432 GB, free: 8.715 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.1199, allocations: 38.25 kB / 0.8432 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1199, allocations: 0.8125 kB / 0.8432 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1199, allocations: 16.48 kB / 0.8433 GB, free: 8.656 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1199, allocations: 0 / 0.8433 GB, free: 8.656 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.1199, allocations: 12.58 kB / 0.8433 GB, free: 8.645 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001074/0.12, allocations: 101.3 kB / 0.8434 GB, free: 8.516 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1202, allocations: 51.08 kB / 0.8434 GB, free: 8.457 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.1202, allocations: 17.55 kB / 0.8434 GB, free: 8.438 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.1202, allocations: 0.6562 kB / 0.8434 GB, free: 8.438 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.1202, allocations: 39.25 kB / 0.8435 GB, free: 8.391 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1202, allocations: 0 / 0.8435 GB, free: 8.391 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000128/0.1204, allocations: 62.16 kB / 0.8435 GB, free: 8.324 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.1204, allocations: 51.41 kB / 0.8436 GB, free: 8.262 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.1205, allocations: 98.48 kB / 0.8437 GB, free: 8.156 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.1205, allocations: 30.3 kB / 0.8437 GB, free: 8.121 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.1205, allocations: 84.12 kB / 0.8438 GB, free: 8.035 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1205, allocations: 16.47 kB / 0.8438 GB, free: 8.02 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.1205, allocations: 13.72 kB / 0.8438 GB, free: 8 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.1206, allocations: 319.5 kB / 0.8441 GB, free: 7.68 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.1206, allocations: 4.578 kB / 0.8441 GB, free: 7.676 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.1206, allocations: 12 kB / 0.8441 GB, free: 7.664 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.1207, allocations: 17.36 kB / 0.8441 GB, free: 7.645 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1207, allocations: 0.625 kB / 0.8441 GB, free: 7.645 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.083e-05/0.1207, allocations: 53.62 kB / 0.8442 GB, free: 7.586 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1207, allocations: 4.5 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1207, allocations: 0.625 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1207, allocations: 3.938 kB / 0.8442 GB, free: 7.578 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.703e-05/0.1208, allocations: 4.594 kB / 0.8442 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1208, allocations: 4.562 kB / 0.8442 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.143e-05/0.1208, allocations: 3.953 kB / 0.8442 GB, free: 7.566 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1208, allocations: 0.5 kB / 0.8442 GB, free: 7.566 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 5.488e-05/0.1208, allocations: 119.5 kB / 0.8443 GB, free: 7.441 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-06/0.1208, allocations: 0.5 kB / 0.8443 GB, free: 7.441 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.1209, allocations: 8.406 kB / 0.8443 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1209, allocations: 3.938 kB / 0.8443 GB, free: 7.43 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1209, allocations: 4.562 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1209, allocations: 0 / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.353e-05/0.1209, allocations: 109.9 kB / 0.8445 GB, free: 7.289 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.1209, allocations: 0 / 0.8445 GB, free: 7.289 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/0.1209, allocations: 8.828 kB / 0.8445 GB, free: 7.281 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.1209, allocations: 0.5938 kB / 0.8445 GB, free: 7.281 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.1209, allocations: 3.938 kB / 0.8445 GB, free: 7.277 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1209, allocations: 4.438 kB / 0.8445 GB, free: 7.273 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1209, allocations: 4.531 kB / 0.8445 GB, free: 7.27 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.084e-05/0.121, allocations: 81.69 kB / 0.8446 GB, free: 7.172 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-06/0.121, allocations: 4 kB / 0.8446 GB, free: 7.168 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.121, allocations: 0.5938 kB / 0.8446 GB, free: 7.168 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.121, allocations: 256 / 0.8446 GB, free: 7.168 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.121, allocations: 8.453 kB / 0.8446 GB, free: 7.16 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.121, allocations: 8.625 kB / 0.8446 GB, free: 7.152 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.1211, allocations: 83.28 kB / 0.8447 GB, free: 7.07 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1211, allocations: 0.6875 kB / 0.8447 GB, free: 7.07 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001091/0.1212, allocations: 4 kB / 0.8447 GB, free: 7.066 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.0003289/0.1215, allocations: 100.6 kB / 0.8448 GB, free: 6.957 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.474e-05/0.1216, allocations: 23.92 kB / 0.8448 GB, free: 6.934 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1216, allocations: 0.5625 kB / 0.8448 GB, free: 6.934 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.1216, allocations: 8.844 kB / 0.8448 GB, free: 6.926 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.1217, allocations: 8 kB / 0.8448 GB, free: 6.918 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.1219, allocations: 143.2 kB / 0.8449 GB, free: 6.746 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.374e-05/0.122, allocations: 59.92 kB / 0.845 GB, free: 6.668 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.122, allocations: 7.938 kB / 0.845 GB, free: 6.66 MB / 474.8 MB Notification: Performance of SimCode: time 4.5e-07/0.122, allocations: 0.5938 kB / 0.845 GB, free: 6.66 MB / 474.8 MB Notification: Performance of Templates: time 0.001348/0.1233, allocations: 0.534 MB / 0.8455 GB, free: 6.152 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 > 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.768911889754236]