Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.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.0009881/0.0009881, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002167, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007043/0.0007043, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000874/0.001578, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9825/0.9825, allocations: 177.1 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1124/1.095, 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.8718/0.8718, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0429/0.9147, allocations: 21.03 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_Stepensky2002_PD_r,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.5444 GB, free: 30.63 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.225e-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.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.001927/0.001949, allocations: 0.6603 MB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.398e-05/0.001983, allocations: 7.922 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.002002, allocations: 0 / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.831e-06/0.002008, allocations: 3.938 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.305e-05/0.002021, allocations: 4 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.013e-05/0.002051, allocations: 4 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.305e-05/0.002104, allocations: 11.92 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.002152, allocations: 15.11 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.002212, allocations: 11.98 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.373e-05/0.002266, allocations: 7.938 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.002288, allocations: 0 / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.81e-06/0.002294, allocations: 0 / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.002306, allocations: 4 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.002327, allocations: 0 / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.368e-05/0.002391, allocations: 11.92 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.002407, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.002408, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.002421, allocations: 0 / 0.5452 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.0003486/0.002769, allocations: 239 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.002807, allocations: 15.89 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.801e-05/0.002835, allocations: 4.938 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.03e-05/0.002906, allocations: 113.7 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.002919, allocations: 4.312 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.002927, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.974e-05/0.002996, allocations: 30.27 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.003004, allocations: 192 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.003011, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.003016, allocations: 4.375 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.003038, allocations: 11.92 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.348e-05/0.003132, allocations: 65.05 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.003417, allocations: 50.53 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.003436, allocations: 4.859 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-06/0.003443, allocations: 4 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.00346, allocations: 30.56 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.634e-06/0.003462, allocations: 0 / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.604e-05/0.003558, allocations: 41.78 kB / 0.5458 GB, free: 29.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.003581, allocations: 51.41 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.344e-05/0.003624, allocations: 121.9 kB / 0.5459 GB, free: 28.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.003629, allocations: 29.64 kB / 0.546 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.233e-05/0.003641, allocations: 84.14 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.003667, allocations: 3.953 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.003697, allocations: 17.7 kB / 0.5461 GB, free: 28.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.003731, allocations: 318.8 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.003741, allocations: 4 kB / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.003749, allocations: 0 / 0.5464 GB, free: 28.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.003775, allocations: 17.12 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.003778, allocations: 0 / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.329e-05/0.003831, allocations: 45.69 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.003843, allocations: 8 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.003848, allocations: 0 / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.003857, allocations: 3.938 kB / 0.5464 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.003903, allocations: 7.984 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.003906, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.00392, allocations: 0 / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.003925, allocations: 2.656 kB / 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 4.565e-05/0.003971, allocations: 117.7 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.003978, allocations: 0 / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.003999, allocations: 11.69 kB / 0.5466 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004, allocations: 4 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.004002, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.004005, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.678e-05/0.004062, allocations: 73.81 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.004064, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.00409, allocations: 8 kB / 0.5467 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.004096, allocations: 3.953 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.004098, allocations: 0 / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-06/0.004101, allocations: 0 / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.004103, allocations: 3.125 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.004104, allocations: 4 kB / 0.5467 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.147e-05/0.004166, allocations: 73 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.004176, allocations: 3.984 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.299e-05/0.004189, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.004201, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.004203, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.098e-05/0.004214, allocations: 12.8 kB / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.004214, allocations: 0 / 0.5468 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.004381, allocations: 4 kB / 0.5468 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 7.205e-05/0.004453, allocations: 84.41 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.858e-05/0.004522, allocations: 20.86 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.004526, allocations: 7.938 kB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-06/0.004535, allocations: 8.859 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.183e-05/0.004607, allocations: 3.938 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.0002091/0.004816, allocations: 120.5 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.341e-05/0.00484, allocations: 55.36 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.707e-05/0.004867, allocations: 0 / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.004894, allocations: 47.38 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.004895, allocations: 0 / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.00225/0.007144, allocations: 453.9 kB / 0.5475 GB, free: 27.28 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2241507712751627]