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.002673/0.002673, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.003502/0.003502, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.615/1.615, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.488/1.488, allocations: 293 MB / 0.5392 GB, free: 49.64 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_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.232e-06/1.232e-06, allocations: 0 / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.409e-05, allocations: 4.953 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.001487/0.001511, allocations: 0.6106 MB / 0.7005 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.852e-05/0.001559, allocations: 11.98 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.001594, allocations: 0 / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.741e-05/0.001612, allocations: 3.938 kB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.001653, allocations: 0 / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.243e-05/0.001705, allocations: 3.984 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.001771, allocations: 19.92 kB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.098e-05/0.001832, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.001869, allocations: 4 kB / 0.7005 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.001931, allocations: 7.984 kB / 0.7005 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.001959, allocations: 0 / 0.7005 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.598e-06/0.001963, allocations: 4 kB / 0.7005 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.001977, allocations: 4 kB / 0.7005 GB, free: 7.883 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.002, allocations: 15.91 kB / 0.7006 GB, free: 7.867 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.879e-05/0.002059, allocations: 3.984 kB / 0.7006 GB, free: 7.863 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.00206, allocations: 0 / 0.7006 GB, free: 7.863 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.002062, allocations: 4 kB / 0.7006 GB, free: 7.859 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.002067, allocations: 0 / 0.7006 GB, free: 7.859 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.0003648/0.002432, allocations: 254.3 kB / 0.7008 GB, free: 7.578 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.002473, allocations: 12.03 kB / 0.7008 GB, free: 7.566 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.002507, allocations: 0.9375 kB / 0.7008 GB, free: 7.566 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.514e-05/0.002592, allocations: 113.7 kB / 0.7009 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.002604, allocations: 384 / 0.7009 GB, free: 7.43 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.002613, allocations: 8.312 kB / 0.7009 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.475e-05/0.002697, allocations: 34.25 kB / 0.701 GB, free: 7.383 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.002705, allocations: 192 / 0.701 GB, free: 7.383 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.002714, allocations: 4.375 kB / 0.701 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.002718, allocations: 384 / 0.701 GB, free: 7.379 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.002762, allocations: 11.94 kB / 0.701 GB, free: 7.367 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.00289, allocations: 109.3 kB / 0.7011 GB, free: 7.23 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.003256, allocations: 54.59 kB / 0.7011 GB, free: 7.168 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.003295, allocations: 16.84 kB / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.003308, allocations: 0 / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.564e-05/0.003324, allocations: 34.56 kB / 0.7012 GB, free: 7.105 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.003325, allocations: 0 / 0.7012 GB, free: 7.105 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001595/0.003484, allocations: 49.72 kB / 0.7012 GB, free: 7.051 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.003512, allocations: 55.41 kB / 0.7013 GB, free: 6.984 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.003565, allocations: 105.7 kB / 0.7014 GB, free: 6.871 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.003571, allocations: 25.7 kB / 0.7014 GB, free: 6.84 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/0.003591, allocations: 88.12 kB / 0.7015 GB, free: 6.75 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.003617, allocations: 7.953 kB / 0.7015 GB, free: 6.742 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.003644, allocations: 21.72 kB / 0.7015 GB, free: 6.715 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.003695, allocations: 310.8 kB / 0.7018 GB, free: 6.402 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.56e-05/0.00371, allocations: 4 kB / 0.7018 GB, free: 6.398 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.003724, allocations: 3.984 kB / 0.7018 GB, free: 6.395 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.003754, allocations: 16.86 kB / 0.7018 GB, free: 6.375 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.003756, allocations: 0 / 0.7018 GB, free: 6.375 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.012e-05/0.003816, allocations: 53.58 kB / 0.7019 GB, free: 6.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.003828, allocations: 8 kB / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.003833, allocations: 0 / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.00385, allocations: 0 / 0.7019 GB, free: 6.309 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.375e-05/0.003894, allocations: 4 kB / 0.7019 GB, free: 6.305 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.003898, allocations: 4 kB / 0.7019 GB, free: 6.301 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.003919, allocations: 7.938 kB / 0.7019 GB, free: 6.293 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.003923, allocations: 0 / 0.7019 GB, free: 6.293 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 5.21e-05/0.003975, allocations: 113.3 kB / 0.702 GB, free: 6.176 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-06/0.003983, allocations: 256 / 0.702 GB, free: 6.176 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.761e-05/0.00401, allocations: 15.67 kB / 0.702 GB, free: 6.16 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.004011, allocations: 0 / 0.702 GB, free: 6.16 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.004017, allocations: 4 kB / 0.702 GB, free: 6.156 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.004021, allocations: 3.938 kB / 0.7021 GB, free: 6.152 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.477e-05/0.004076, allocations: 101.3 kB / 0.7021 GB, free: 6.023 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.004078, allocations: 4 kB / 0.7022 GB, free: 6.02 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.004108, allocations: 4 kB / 0.7022 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.004109, allocations: 0 / 0.7022 GB, free: 6.016 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.004117, allocations: 7.938 kB / 0.7022 GB, free: 6.008 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.004119, allocations: 3.984 kB / 0.7022 GB, free: 6.004 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00412, allocations: 0 / 0.7022 GB, free: 6.004 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.004191, allocations: 76.95 kB / 0.7022 GB, free: 5.91 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.004199, allocations: 7.938 kB / 0.7022 GB, free: 5.902 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.004212, allocations: 0 / 0.7022 GB, free: 5.902 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.004231, allocations: 0 / 0.7022 GB, free: 5.902 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.004244, allocations: 384 / 0.7022 GB, free: 5.902 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.004246, allocations: 7.938 kB / 0.7023 GB, free: 5.895 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.00427, allocations: 87.27 kB / 0.7023 GB, free: 5.809 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.00427, allocations: 0 / 0.7023 GB, free: 5.809 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001767/0.004447, allocations: 7.938 kB / 0.7023 GB, free: 5.801 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 8.035e-05/0.004527, allocations: 103.2 kB / 0.7024 GB, free: 5.691 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.004612, allocations: 19.92 kB / 0.7025 GB, free: 5.672 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.004614, allocations: 0 / 0.7025 GB, free: 5.672 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.399e-05/0.004628, allocations: 11.98 kB / 0.7025 GB, free: 5.66 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.00477, allocations: 7.75 kB / 0.7025 GB, free: 5.656 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.005004, allocations: 108.9 kB / 0.7026 GB, free: 5.523 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.494e-05/0.005039, allocations: 59.34 kB / 0.7026 GB, free: 5.445 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.005063, allocations: 4 kB / 0.7026 GB, free: 5.441 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.005091, allocations: 8.5 kB / 0.7027 GB, free: 5.434 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.005091, allocations: 0 / 0.7027 GB, free: 5.434 MB / 410.8 MB Notification: Performance of Templates: time 0.002793/0.007885, allocations: 394.5 kB / 0.703 GB, free: 5.105 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 -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: 6.5689040068537]