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.001301/0.001301, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001189/0.001189, allocations: 166.3 kB / 23.21 MB, free: 1.328 MB / 18.57 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.9912/0.9912, allocations: 177.1 MB / 203.5 MB, free: 5.691 MB / 186.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.6729/0.6729, allocations: 291.2 MB / 0.5382 GB, free: 51.77 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=499,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=499,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.262e-06/1.262e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.602e-05, allocations: 5.234 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.001075/0.001101, allocations: 0.6087 MB / 0.6979 GB, free: 9.805 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.149e-05/0.001142, allocations: 11.92 kB / 0.6979 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.691e-05/0.001169, allocations: 0 / 0.6979 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.001183, allocations: 3.938 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.001212, allocations: 3.938 kB / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.237e-05/0.001264, allocations: 3.984 kB / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.563e-05/0.00132, allocations: 15.94 kB / 0.6979 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.001368, allocations: 0 / 0.6979 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.525e-05/0.001403, allocations: 7.984 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.001456, allocations: 11.92 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.001479, allocations: 0 / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-06/0.001484, allocations: 4 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.0015, allocations: 4 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.00152, allocations: 4 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.63e-05/0.001576, allocations: 11.97 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.001578, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.00158, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.001584, allocations: 0 / 0.698 GB, free: 9.723 MB / 410.8 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.0002685/0.001852, allocations: 258.3 kB / 0.6982 GB, free: 9.438 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.001895, allocations: 8.031 kB / 0.6982 GB, free: 9.43 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.001921, allocations: 4.875 kB / 0.6982 GB, free: 9.426 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.515e-05/0.001976, allocations: 117.8 kB / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.001987, allocations: 384 / 0.6984 GB, free: 9.285 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.001994, allocations: 4.312 kB / 0.6984 GB, free: 9.281 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.824e-05/0.002072, allocations: 38.27 kB / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.002079, allocations: 192 / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.002088, allocations: 384 / 0.6984 GB, free: 9.238 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.002094, allocations: 4.359 kB / 0.6984 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.002129, allocations: 7.938 kB / 0.6984 GB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.276e-05/0.002222, allocations: 109.3 kB / 0.6985 GB, free: 9.09 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.002464, allocations: 54.59 kB / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.002485, allocations: 12.86 kB / 0.6986 GB, free: 9.012 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.002495, allocations: 4 kB / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.002506, allocations: 30.56 kB / 0.6986 GB, free: 8.969 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.002507, allocations: 0 / 0.6986 GB, free: 8.969 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001166/0.002624, allocations: 45.78 kB / 0.6987 GB, free: 8.918 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.002645, allocations: 55.41 kB / 0.6987 GB, free: 8.852 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.742e-05/0.002682, allocations: 105.8 kB / 0.6988 GB, free: 8.738 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-06/0.002687, allocations: 25.7 kB / 0.6988 GB, free: 8.707 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.115e-05/0.002698, allocations: 88.14 kB / 0.6989 GB, free: 8.617 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.00272, allocations: 7.891 kB / 0.6989 GB, free: 8.609 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.002741, allocations: 21.7 kB / 0.6989 GB, free: 8.582 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.866e-05/0.002769, allocations: 314.8 kB / 0.6992 GB, free: 8.266 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.002781, allocations: 4 kB / 0.6993 GB, free: 8.262 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-06/0.002791, allocations: 4 kB / 0.6993 GB, free: 8.258 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.251e-05/0.002823, allocations: 16.86 kB / 0.6993 GB, free: 8.238 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.002825, allocations: 3.938 kB / 0.6993 GB, free: 8.234 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.156e-05/0.002867, allocations: 49.64 kB / 0.6993 GB, free: 8.18 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.002879, allocations: 4 kB / 0.6993 GB, free: 8.176 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.002883, allocations: 0 / 0.6993 GB, free: 8.176 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.002896, allocations: 0 / 0.6993 GB, free: 8.176 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.793e-05/0.002933, allocations: 7.938 kB / 0.6993 GB, free: 8.168 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.002939, allocations: 7.984 kB / 0.6993 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.00295, allocations: 7.875 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.002956, allocations: 4 kB / 0.6994 GB, free: 8.148 MB / 410.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 (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 3.931e-05/0.002995, allocations: 114.4 kB / 0.6995 GB, free: 8.027 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-06/0.002999, allocations: 4.328 kB / 0.6995 GB, free: 8.023 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.003014, allocations: 7.688 kB / 0.6995 GB, free: 8.016 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.003016, allocations: 0 / 0.6995 GB, free: 8.016 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.00302, allocations: 3.984 kB / 0.6995 GB, free: 8.012 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.003022, allocations: 3.938 kB / 0.6995 GB, free: 8.008 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.848e-05/0.003061, allocations: 101.6 kB / 0.6996 GB, free: 7.879 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.003062, allocations: 12 kB / 0.6996 GB, free: 7.867 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.003075, allocations: 4 kB / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.003077, allocations: 0 / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.003083, allocations: 4 kB / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.003083, allocations: 0 / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.003084, allocations: 0 / 0.6996 GB, free: 7.859 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.175e-05/0.003136, allocations: 76.95 kB / 0.6997 GB, free: 7.766 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.003142, allocations: 4 kB / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.003152, allocations: 0 / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.003159, allocations: 0 / 0.6997 GB, free: 7.762 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.003171, allocations: 3.984 kB / 0.6997 GB, free: 7.758 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.003172, allocations: 8 kB / 0.6997 GB, free: 7.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.651e-05/0.003189, allocations: 83.28 kB / 0.6998 GB, free: 7.668 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003189, allocations: 0 / 0.6998 GB, free: 7.668 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001052/0.003294, allocations: 7.938 kB / 0.6998 GB, free: 7.66 MB / 410.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 (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.934e-05/0.003353, allocations: 99.25 kB / 0.6999 GB, free: 7.555 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.003418, allocations: 15.98 kB / 0.6999 GB, free: 7.539 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.003419, allocations: 0 / 0.6999 GB, free: 7.539 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.003427, allocations: 11.94 kB / 0.6999 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.003531, allocations: 3.75 kB / 0.6999 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.003732, allocations: 138.5 kB / 0.7 GB, free: 7.359 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.766e-05/0.00376, allocations: 63.34 kB / 0.7001 GB, free: 7.277 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.003781, allocations: 8.5 kB / 0.7001 GB, free: 7.27 MB / 410.8 MB Notification: Performance of SimCode: time 5.01e-07/0.003782, allocations: 0 / 0.7001 GB, free: 7.27 MB / 410.8 MB Notification: Performance of Templates: time 0.001252/0.005033, allocations: 0.5035 MB / 0.7006 GB, free: 6.77 MB / 410.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.180388513952494]