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.0009212/0.0009212, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008524/0.001774, 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.0006948/0.0006948, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008975/0.001592, 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.9084/0.9084, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09587/1.004, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.7177/0.7177, allocations: 291.2 MB / 0.5227 GB, free: 52.7 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02422/0.7419, 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_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.243e-06/1.243e-06, allocations: 0 / 0.5446 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.859e-06/1.11e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Hong2008_PD_fla): time 0.0008507/0.0008618, allocations: 0.67 MB / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.198e-05/0.0008837, allocations: 19.92 kB / 0.5453 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.046e-05/0.0009042, allocations: 0 / 0.5453 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.667e-06/0.0009079, allocations: 0 / 0.5453 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.846e-06/0.0009167, allocations: 7.875 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.922e-05/0.0009359, allocations: 0 / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.96e-05/0.0009755, allocations: 23.91 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.00101, allocations: 0 / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.001053, allocations: 11.98 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.001089, allocations: 0 / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.001104, allocations: 4 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-06/0.001107, allocations: 4 kB / 0.5453 GB, free: 29.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.001117, allocations: 3.938 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.001133, allocations: 4 kB / 0.5453 GB, free: 29.63 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 4.278e-05/0.001175, allocations: 11.92 kB / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.001184, allocations: 0 / 0.5453 GB, free: 29.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.001184, allocations: 3.938 kB / 0.5453 GB, free: 29.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.001193, allocations: 0 / 0.5453 GB, free: 29.61 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.0002209/0.001414, allocations: 235.1 kB / 0.5456 GB, free: 29.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.537e-05/0.001439, allocations: 11.89 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.682e-05/0.001456, allocations: 4.938 kB / 0.5456 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.478e-05/0.001501, allocations: 117.7 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.001508, allocations: 384 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.001515, allocations: 4.312 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.025e-05/0.001565, allocations: 34.27 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.001572, allocations: 192 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.001577, allocations: 384 / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.00158, allocations: 4.359 kB / 0.5457 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.979e-05/0.0016, allocations: 7.938 kB / 0.5457 GB, free: 29.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.314e-05/0.001673, allocations: 57.05 kB / 0.5458 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.001899, allocations: 50.58 kB / 0.5458 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.398e-05/0.001913, allocations: 12.8 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.001918, allocations: 0 / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.001934, allocations: 38.56 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.02e-07/0.001934, allocations: 0 / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 6.94e-05/0.002004, allocations: 37.69 kB / 0.5459 GB, free: 28.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.002022, allocations: 55.41 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.099e-05/0.002053, allocations: 106.7 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-06/0.002056, allocations: 25.7 kB / 0.5461 GB, free: 28.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.444e-06/0.002063, allocations: 88.12 kB / 0.5462 GB, free: 28.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.002083, allocations: 7.891 kB / 0.5462 GB, free: 28.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.002103, allocations: 17.72 kB / 0.5462 GB, free: 28.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.395e-05/0.002127, allocations: 326.7 kB / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.002133, allocations: 4 kB / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.002138, allocations: 0 / 0.5465 GB, free: 28.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.69e-05/0.002155, allocations: 16.84 kB / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.002157, allocations: 0 / 0.5465 GB, free: 28.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 2.866e-05/0.002185, allocations: 37.69 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.002194, allocations: 8 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.002198, allocations: 3.25 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.002205, allocations: 0 / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.637e-05/0.002231, allocations: 11.92 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.002235, allocations: 3.938 kB / 0.5466 GB, free: 28.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.013e-05/0.002245, allocations: 7.953 kB / 0.5466 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-06/0.002248, allocations: 4 kB / 0.5466 GB, free: 28.15 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.854e-05/0.002276, allocations: 113.8 kB / 0.5467 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-06/0.00228, allocations: 0 / 0.5467 GB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.636e-05/0.002296, allocations: 8 kB / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.002298, allocations: 0 / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.002299, allocations: 0 / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.002301, allocations: 0 / 0.5467 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.737e-05/0.002338, allocations: 73.83 kB / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.71e-07/0.002339, allocations: 0 / 0.5468 GB, free: 27.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.00235, allocations: 12 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.002354, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-07/0.002354, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.466e-06/0.002358, allocations: 4 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.002359, allocations: 2.734 kB / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.002359, allocations: 0 / 0.5468 GB, free: 27.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.456e-05/0.002394, allocations: 65.33 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.002401, allocations: 7.984 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-06/0.002407, allocations: 0 / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-06/0.002415, allocations: 4.031 kB / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.72e-07/0.002416, allocations: 0 / 0.5469 GB, free: 27.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.518e-06/0.002425, allocations: 19.97 kB / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002425, allocations: 0 / 0.5469 GB, free: 27.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 8.356e-05/0.002509, allocations: 8 kB / 0.5469 GB, free: 27.79 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.315e-05/0.002552, allocations: 88.41 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.958e-05/0.002612, allocations: 12.86 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.002618, allocations: 0 / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.002629, allocations: 16.8 kB / 0.547 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.56e-05/0.002675, allocations: 3.938 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.0001392/0.002814, allocations: 128.4 kB / 0.5472 GB, free: 27.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.552e-05/0.00283, allocations: 51.36 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.127e-05/0.002841, allocations: 4 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.002861, allocations: 51.36 kB / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/0.002861, allocations: 0 / 0.5473 GB, free: 27.38 MB / 410.7 MB Notification: Performance of Templates: time 0.001448/0.004309, allocations: 443.4 kB / 0.5477 GB, free: 27 MB / 410.7 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: 2.9036658527329564]