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.0007007/0.0007007, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009038/0.001604, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007214/0.0007214, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009268/0.001648, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.046/1.046, allocations: 177.2 MB / 189.5 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08004/1.126, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.747/0.747, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03053/0.7775, 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.203e-06/1.203e-06, allocations: 0 / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.885e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BB01_Glibenclamide.Glibenclamide_Rambiritch2016_PD_fbg_2): time 0.00102/0.001039, allocations: 0.697 MB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.492e-05/0.001064, allocations: 7.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.00108, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.717e-06/0.001084, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.097e-06/0.001093, allocations: 7.938 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.261e-05/0.001116, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.304e-05/0.001159, allocations: 15.92 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.001196, allocations: 3.984 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.001243, allocations: 12 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.001292, allocations: 7.984 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.00131, allocations: 3.938 kB / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-06/0.001314, allocations: 0 / 0.5452 GB, free: 29.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.001324, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.001341, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.232e-05/0.001393, allocations: 7.984 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.001408, allocations: 8 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.001409, allocations: 0 / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.001421, allocations: 0 / 0.5452 GB, free: 29.85 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.0002689/0.00169, allocations: 243 kB / 0.5454 GB, free: 29.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.001719, allocations: 15.83 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.00174, allocations: 4.938 kB / 0.5454 GB, free: 29.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.175e-05/0.001792, allocations: 109.7 kB / 0.5455 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.001804, allocations: 4.375 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-06/0.00181, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.75e-05/0.001868, allocations: 34.27 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.001875, allocations: 8.172 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-06/0.001881, allocations: 384 / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.001886, allocations: 4.375 kB / 0.5456 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.001903, allocations: 7.938 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.977e-05/0.001973, allocations: 57.05 kB / 0.5457 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.002103, allocations: 46.53 kB / 0.5457 GB, free: 29.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.644e-05/0.00212, allocations: 16.94 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.002126, allocations: 4 kB / 0.5457 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.002141, allocations: 30.56 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.002141, allocations: 4 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 8.051e-05/0.002222, allocations: 45.62 kB / 0.5458 GB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.002241, allocations: 51.41 kB / 0.5458 GB, free: 29.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.049e-05/0.002272, allocations: 102.7 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-06/0.002276, allocations: 25.7 kB / 0.546 GB, free: 28.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-06/0.002283, allocations: 88.11 kB / 0.5461 GB, free: 28.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.002306, allocations: 19.84 kB / 0.5461 GB, free: 28.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.002333, allocations: 13.72 kB / 0.5461 GB, free: 28.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.915e-05/0.002362, allocations: 318.8 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.002369, allocations: 7.984 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.722e-06/0.002376, allocations: 192 / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.066e-05/0.002397, allocations: 20.94 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.002398, allocations: 4 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.616e-05/0.002434, allocations: 44.38 kB / 0.5465 GB, free: 28.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.002444, allocations: 8 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.002447, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/0.002455, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.287e-05/0.002488, allocations: 7.984 kB / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.00249, allocations: 0 / 0.5465 GB, free: 28.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.002501, allocations: 8 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.002504, allocations: 0 / 0.5465 GB, free: 28.37 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 2.944e-05/0.002533, allocations: 117.7 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-06/0.002538, allocations: 4 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.002554, allocations: 7.688 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.002555, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.002556, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.002559, allocations: 7.984 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.977e-05/0.002599, allocations: 65.84 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.002599, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.558e-05/0.002615, allocations: 8 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.002619, allocations: 3.984 kB / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.00262, allocations: 0 / 0.5467 GB, free: 28.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-06/0.002623, allocations: 11.94 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.002624, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.002625, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.137e-05/0.002666, allocations: 73.05 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.002672, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.00268, allocations: 3.625 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-06/0.002689, allocations: 4 kB / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.00269, allocations: 0 / 0.5468 GB, free: 28.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.155e-06/0.002698, allocations: 12.84 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002698, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.123e-05/0.002789, allocations: 8 kB / 0.5468 GB, free: 28 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 5.426e-05/0.002844, allocations: 88.42 kB / 0.5469 GB, free: 27.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.148e-05/0.002895, allocations: 16.8 kB / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.002897, allocations: 0 / 0.5469 GB, free: 27.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.446e-06/0.002906, allocations: 16.84 kB / 0.5469 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.499e-05/0.002961, allocations: 7.938 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/0.00312, allocations: 150.1 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.185e-05/0.003142, allocations: 63.34 kB / 0.5471 GB, free: 27.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.00317, allocations: 55.38 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.00317, allocations: 3.938 kB / 0.5472 GB, free: 27.54 MB / 410.7 MB Notification: Performance of Templates: time 0.001048/0.004218, allocations: 0.5203 MB / 0.5477 GB, free: 27.03 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 > 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.951978820376098]