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.0008963/0.0008963, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.00223, allocations: 455.9 kB / 10.35 MB, free: 348 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.001037/0.001037, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002388, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9464/0.9464, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08002/1.026, allocations: 53.67 MB / 243.3 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.719/0.719, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02782/0.7469, allocations: 21.05 MB / 0.5433 GB, free: 31.72 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.402e-06/1.402e-06, allocations: 0 / 0.5446 GB, free: 30.39 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.806e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.00104/0.001058, allocations: 0.6638 MB / 0.5452 GB, free: 29.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.191e-05/0.00108, allocations: 11.92 kB / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.569e-05/0.001095, allocations: 0 / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.496e-06/0.001099, allocations: 4 kB / 0.5452 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.045e-06/0.001107, allocations: 0 / 0.5452 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.574e-05/0.001133, allocations: 7.984 kB / 0.5452 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.237e-05/0.001175, allocations: 15.92 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.001212, allocations: 3.125 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.001252, allocations: 15.98 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.001295, allocations: 11.86 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.001311, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-06/0.001316, allocations: 4 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.001327, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.951e-05/0.001347, allocations: 8 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.346e-05/0.00139, allocations: 7.938 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.001401, allocations: 0 / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.001402, allocations: 0 / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.001411, allocations: 0 / 0.5453 GB, free: 29.63 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.0002313/0.001642, allocations: 235 kB / 0.5455 GB, free: 29.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.001668, allocations: 11.89 kB / 0.5455 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.001686, allocations: 4.922 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.796e-05/0.001734, allocations: 117.7 kB / 0.5457 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.001741, allocations: 384 / 0.5457 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-06/0.001747, allocations: 8.375 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.196e-05/0.001799, allocations: 34.25 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.001805, allocations: 192 / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.699e-06/0.001809, allocations: 384 / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.001812, allocations: 384 / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.001829, allocations: 11.88 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.627e-05/0.001895, allocations: 61.05 kB / 0.5458 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.002092, allocations: 46.59 kB / 0.5458 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.002105, allocations: 8.859 kB / 0.5458 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.002111, allocations: 0 / 0.5458 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.002123, allocations: 34.56 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.002124, allocations: 4 kB / 0.5459 GB, free: 28.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 7.241e-05/0.002196, allocations: 41.72 kB / 0.5459 GB, free: 28.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.002212, allocations: 51.41 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.48e-05/0.002247, allocations: 118.3 kB / 0.5461 GB, free: 28.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-06/0.00225, allocations: 29.64 kB / 0.5461 GB, free: 28.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-06/0.00226, allocations: 80.14 kB / 0.5462 GB, free: 28.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.002282, allocations: 11.94 kB / 0.5462 GB, free: 28.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.002303, allocations: 13.7 kB / 0.5462 GB, free: 28.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.527e-05/0.002328, allocations: 318.8 kB / 0.5465 GB, free: 28.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.002334, allocations: 4 kB / 0.5465 GB, free: 28.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-06/0.002341, allocations: 4 kB / 0.5465 GB, free: 28.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.844e-05/0.002359, allocations: 16.78 kB / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.002361, allocations: 0 / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.6e-05/0.002397, allocations: 41.7 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.788e-06/0.002407, allocations: 7.984 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.00241, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.002417, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.151e-05/0.002449, allocations: 4 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.002452, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.002463, allocations: 7.938 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.002466, allocations: 7.062 kB / 0.5466 GB, free: 28.18 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.909e-05/0.002495, allocations: 113.8 kB / 0.5467 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-06/0.0025, allocations: 4 kB / 0.5467 GB, free: 28.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.002516, allocations: 7.688 kB / 0.5467 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.002518, allocations: 3.984 kB / 0.5467 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.002519, allocations: 3.984 kB / 0.5467 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.002522, allocations: 3.938 kB / 0.5467 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.852e-05/0.00256, allocations: 69.84 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.002561, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.002572, allocations: 4 kB / 0.5468 GB, free: 27.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.002577, allocations: 7.953 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.002578, allocations: 4 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-06/0.002581, allocations: 0 / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.002582, allocations: 0 / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.002583, allocations: 3.984 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.899e-05/0.002622, allocations: 69.06 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-06/0.002628, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.002635, allocations: 3.062 kB / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-06/0.002644, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.002645, allocations: 0 / 0.5469 GB, free: 27.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.325e-06/0.002653, allocations: 12.8 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.002653, allocations: 7.938 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.434e-05/0.002738, allocations: 4 kB / 0.5469 GB, free: 27.81 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 4.955e-05/0.002787, allocations: 92.39 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.605e-05/0.002833, allocations: 16.86 kB / 0.547 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.002838, allocations: 0 / 0.547 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.00285, allocations: 16.84 kB / 0.547 GB, free: 27.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.414e-05/0.002904, allocations: 7.875 kB / 0.547 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001443/0.003049, allocations: 112.5 kB / 0.5471 GB, free: 27.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.517e-05/0.003064, allocations: 55.36 kB / 0.5472 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.00308, allocations: 7.984 kB / 0.5472 GB, free: 27.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.003101, allocations: 47.38 kB / 0.5472 GB, free: 27.4 MB / 410.7 MB Notification: Performance of SimCode: time 6.71e-07/0.003102, allocations: 0 / 0.5472 GB, free: 27.4 MB / 410.7 MB Notification: Performance of Templates: time 0.001524/0.004626, allocations: 448.1 kB / 0.5477 GB, free: 27.02 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: 2.976201011799276]