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.0019/0.0019, allocations: 84.44 kB / 19.17 MB, free: 0.7422 MB / 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.002118/0.002118, allocations: 173.9 kB / 22.46 MB, free: 2.109 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 1.585/1.585, allocations: 177.1 MB / 202.7 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 178] 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 1.336/1.336, allocations: 292.9 MB / 0.5392 GB, free: 50.21 MB / 410.7 MB " [Timeout remaining time 178] 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.603e-06/1.603e-06, allocations: 0 / 0.6998 GB, free: 8.613 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.98e-05, allocations: 9.172 kB / 0.6998 GB, free: 8.605 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla): time 0.001633/0.001663, allocations: 0.6149 MB / 0.7004 GB, free: 7.992 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.236e-05/0.001706, allocations: 11.92 kB / 0.7004 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.001735, allocations: 0 / 0.7004 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.341e-05/0.001748, allocations: 0 / 0.7004 GB, free: 7.98 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.001773, allocations: 4 kB / 0.7005 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.236e-05/0.001815, allocations: 3.938 kB / 0.7005 GB, free: 7.973 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.625e-05/0.001871, allocations: 15.91 kB / 0.7005 GB, free: 7.957 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.001924, allocations: 4 kB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.001959, allocations: 11.98 kB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.002, allocations: 0 / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.002025, allocations: 4 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.019e-06/0.00203, allocations: 4 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.002045, allocations: 7.922 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.927e-05/0.002064, allocations: 4 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.652e-05/0.002111, allocations: 7.984 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002113, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.002114, allocations: 0 / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.002119, allocations: 0 / 0.7005 GB, free: 7.914 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.0003403/0.00246, allocations: 258.3 kB / 0.7008 GB, free: 7.629 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.002499, allocations: 8.031 kB / 0.7008 GB, free: 7.621 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.002528, allocations: 8.938 kB / 0.7008 GB, free: 7.613 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.629e-05/0.002594, allocations: 109.7 kB / 0.7009 GB, free: 7.48 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.002608, allocations: 4.375 kB / 0.7009 GB, free: 7.477 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.002614, allocations: 4.375 kB / 0.7009 GB, free: 7.473 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.737e-05/0.002692, allocations: 38.25 kB / 0.7009 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.0027, allocations: 4.125 kB / 0.7009 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.002708, allocations: 384 / 0.7009 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.002712, allocations: 8.25 kB / 0.7009 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.084e-05/0.002753, allocations: 15.92 kB / 0.701 GB, free: 7.402 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.002863, allocations: 101.3 kB / 0.701 GB, free: 7.273 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.003195, allocations: 54.66 kB / 0.7011 GB, free: 7.211 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.085e-05/0.003225, allocations: 12.86 kB / 0.7011 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.003239, allocations: 0 / 0.7011 GB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.003252, allocations: 30.56 kB / 0.7011 GB, free: 7.156 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.003253, allocations: 0 / 0.7011 GB, free: 7.156 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001649/0.003418, allocations: 53.62 kB / 0.7012 GB, free: 7.098 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.003451, allocations: 51.41 kB / 0.7012 GB, free: 7.035 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.003512, allocations: 109.8 kB / 0.7013 GB, free: 6.918 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.00352, allocations: 25.7 kB / 0.7014 GB, free: 6.887 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.00355, allocations: 84.14 kB / 0.7015 GB, free: 6.801 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.003576, allocations: 19.84 kB / 0.7015 GB, free: 6.781 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.003604, allocations: 13.72 kB / 0.7015 GB, free: 6.762 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.003653, allocations: 318.8 kB / 0.7018 GB, free: 6.441 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.003667, allocations: 0 / 0.7018 GB, free: 6.441 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.003677, allocations: 8 kB / 0.7018 GB, free: 6.434 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.144e-05/0.003708, allocations: 20.8 kB / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.00371, allocations: 0 / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.544e-05/0.003765, allocations: 46.02 kB / 0.7019 GB, free: 6.359 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.003776, allocations: 8 kB / 0.7019 GB, free: 6.352 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.00378, allocations: 3.984 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.003795, allocations: 0 / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.807e-05/0.003833, allocations: 8 kB / 0.7019 GB, free: 6.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.003837, allocations: 0 / 0.7019 GB, free: 6.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.003859, allocations: 7.922 kB / 0.7019 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.003863, allocations: 0 / 0.7019 GB, free: 6.332 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 4.126e-05/0.003904, allocations: 113.3 kB / 0.702 GB, free: 6.215 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.003911, allocations: 3.953 kB / 0.702 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.00393, allocations: 8 kB / 0.702 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.003931, allocations: 4 kB / 0.702 GB, free: 6.199 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.003934, allocations: 0 / 0.702 GB, free: 6.199 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.003941, allocations: 3.938 kB / 0.702 GB, free: 6.195 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.658e-05/0.003997, allocations: 113.2 kB / 0.7021 GB, free: 6.055 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.003998, allocations: 0 / 0.7021 GB, free: 6.055 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.004027, allocations: 7.938 kB / 0.7021 GB, free: 6.047 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.004028, allocations: 0 / 0.7021 GB, free: 6.047 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.004035, allocations: 4.25 kB / 0.7021 GB, free: 6.043 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.004036, allocations: 4 kB / 0.7021 GB, free: 6.039 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004037, allocations: 3.938 kB / 0.7021 GB, free: 6.035 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.004104, allocations: 69.06 kB / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.004109, allocations: 7.953 kB / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-06/0.004119, allocations: 0 / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.004138, allocations: 4 kB / 0.7022 GB, free: 5.938 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.114e-05/0.004149, allocations: 7.984 kB / 0.7022 GB, free: 5.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.004151, allocations: 0 / 0.7022 GB, free: 5.93 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.004187, allocations: 83.28 kB / 0.7023 GB, free: 5.848 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.004187, allocations: 0 / 0.7023 GB, free: 5.848 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001806/0.004368, allocations: 7.938 kB / 0.7023 GB, free: 5.84 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 7.89e-05/0.004446, allocations: 107.2 kB / 0.7024 GB, free: 5.727 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.367e-05/0.00451, allocations: 11.98 kB / 0.7024 GB, free: 5.715 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.004511, allocations: 0 / 0.7024 GB, free: 5.715 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.261e-05/0.004524, allocations: 12 kB / 0.7024 GB, free: 5.703 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.004648, allocations: 7.75 kB / 0.7024 GB, free: 5.699 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.00482, allocations: 108.8 kB / 0.7025 GB, free: 5.566 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.881e-05/0.004849, allocations: 67.28 kB / 0.7026 GB, free: 5.48 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.054e-05/0.00486, allocations: 0 / 0.7026 GB, free: 5.48 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.004876, allocations: 8.5 kB / 0.7026 GB, free: 5.473 MB / 410.8 MB Notification: Performance of SimCode: time 3.51e-07/0.004876, allocations: 0 / 0.7026 GB, free: 5.473 MB / 410.8 MB Notification: Performance of Templates: time 0.002465/0.007341, allocations: 394 kB / 0.703 GB, free: 5.145 MB / 410.8 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.374697912950069]