Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.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.000715/0.000715, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001787, 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.0007277/0.0007277, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.00174, 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.02/1.02, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09044/1.11, 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.7739/0.7739, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02604/0.8, 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.A10BA02_Metformin.Metformin_Hong2008_PD_fla,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.876e-05, allocations: 6.312 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla): time 0.0009957/0.001014, allocations: 0.6746 MB / 0.5451 GB, free: 29.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.268e-05/0.001037, allocations: 7.922 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.001054, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.057e-06/0.001058, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.456e-06/0.001066, allocations: 3.938 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.059e-05/0.001087, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.308e-05/0.00113, allocations: 11.94 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.001171, allocations: 15.11 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.832e-05/0.001219, allocations: 8 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.00126, allocations: 7.984 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.001278, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-06/0.001282, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.001292, allocations: 7.938 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.001307, allocations: 0 / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.571e-05/0.001353, allocations: 7.984 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.001366, allocations: 3.938 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.001366, allocations: 0 / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.001379, allocations: 0 / 0.5451 GB, free: 29.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002524/0.001631, allocations: 239 kB / 0.5454 GB, free: 29.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.001659, allocations: 15.89 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.983e-05/0.001679, allocations: 0.9375 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.876e-05/0.001738, allocations: 109.8 kB / 0.5455 GB, free: 29.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.001749, allocations: 8.312 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.001755, allocations: 4.375 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.432e-05/0.00181, allocations: 30.25 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.001816, allocations: 192 / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-06/0.001822, allocations: 4.375 kB / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.001827, allocations: 384 / 0.5455 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.001843, allocations: 11.88 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.375e-05/0.001907, allocations: 68.16 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.002112, allocations: 50.58 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.428e-05/0.002126, allocations: 8.859 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.002132, allocations: 0 / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.002146, allocations: 34.55 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.002147, allocations: 0 / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.697e-05/0.002224, allocations: 41.64 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.002243, allocations: 51.41 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.025e-05/0.002274, allocations: 106.7 kB / 0.5459 GB, free: 29.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-06/0.002278, allocations: 33.7 kB / 0.5459 GB, free: 28.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.022e-05/0.002288, allocations: 84.12 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.00231, allocations: 11.94 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.002332, allocations: 9.719 kB / 0.546 GB, free: 28.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.942e-05/0.002362, allocations: 322.8 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.002368, allocations: 0 / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.002374, allocations: 4 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.771e-05/0.002392, allocations: 12.84 kB / 0.5464 GB, free: 28.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.002393, allocations: 0 / 0.5464 GB, free: 28.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.17e-05/0.002425, allocations: 45.62 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.002435, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.002439, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.002446, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-05/0.002478, allocations: 8 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00248, allocations: 0 / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.002491, allocations: 11.89 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-06/0.002494, allocations: 0 / 0.5464 GB, free: 28.43 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 (3): * Single equations (assignments): 3 * 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.71e-05/0.002521, allocations: 109.8 kB / 0.5465 GB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-06/0.002525, allocations: 7.984 kB / 0.5465 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.002541, allocations: 8 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.002544, allocations: 3.938 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.002545, allocations: 4 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.002547, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.755e-05/0.002585, allocations: 69.84 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.002586, allocations: 2.75 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.002597, allocations: 4 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.002603, allocations: 7.984 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.002604, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.002607, allocations: 3.938 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.002608, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.002608, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.888e-05/0.002647, allocations: 69.38 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-06/0.002655, allocations: 4 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-06/0.002661, allocations: 4 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-06/0.00267, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.002672, allocations: 4.047 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.754e-06/0.00268, allocations: 12.84 kB / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00268, allocations: 0 / 0.5467 GB, free: 28.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.106e-05/0.002771, allocations: 4 kB / 0.5467 GB, free: 28.07 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 (3): * Single equations (assignments): 3 * 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.646e-05/0.002827, allocations: 84.41 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.948e-05/0.002877, allocations: 20.78 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.00288, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-06/0.002886, allocations: 12.86 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.476e-05/0.002941, allocations: 11.94 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.003095, allocations: 138.2 kB / 0.547 GB, free: 27.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.406e-05/0.003119, allocations: 63.34 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.003143, allocations: 55.36 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.003144, allocations: 0 / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of Templates: time 0.0009639/0.004108, allocations: 0.4944 MB / 0.5476 GB, free: 27.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.010580072179437]