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.006353/0.006353, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.001964/0.001964, allocations: 216.9 kB / 22.25 MB, free: 3.566 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 1.881/1.881, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.47/1.47, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004001/0.004001, allocations: 73.58 kB / 0.7749 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1547, allocations: 74 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A10B_BloodGlucoseLoweringDrugsExclInsulins.A10BA02_Metformin.Metformin_Stepensky2002_PD_r): time 0.001956/0.1567, allocations: 0.598 MB / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.018e-05/0.1567, allocations: 8.609 kB / 0.8478 GB, free: 4.281 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.1568, allocations: 3.938 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.1568, allocations: 4.781 kB / 0.8478 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.1568, allocations: 0 / 0.8478 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.966e-05/0.1569, allocations: 4.656 kB / 0.8478 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.157, allocations: 23.84 kB / 0.8478 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.157, allocations: 4.625 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.157, allocations: 0.6562 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.1571, allocations: 11.92 kB / 0.8478 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1571, allocations: 0.625 kB / 0.8478 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-06/0.1571, allocations: 0 / 0.8478 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.1571, allocations: 8.5 kB / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.1571, allocations: 4.531 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.29e-05/0.1572, allocations: 11.92 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1572, allocations: 0.5938 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1572, allocations: 0.625 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1572, allocations: 0 / 0.8479 GB, free: 4.207 MB / 474.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.0004662/0.1577, allocations: 255 kB / 0.8481 GB, free: 3.926 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1577, allocations: 8.625 kB / 0.8481 GB, free: 3.918 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.1578, allocations: 1.688 kB / 0.8481 GB, free: 3.918 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1579, allocations: 122.4 kB / 0.8482 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.1579, allocations: 0.9375 kB / 0.8482 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1579, allocations: 8.375 kB / 0.8482 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.158, allocations: 34.78 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.158, allocations: 0.7188 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.158, allocations: 7.922 kB / 0.8483 GB, free: 3.719 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1581, allocations: 4.5 kB / 0.8483 GB, free: 3.715 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.1581, allocations: 8.625 kB / 0.8483 GB, free: 3.707 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1585, allocations: 105.3 kB / 0.8484 GB, free: 3.574 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.1589, allocations: 51.75 kB / 0.8484 GB, free: 3.516 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.1589, allocations: 8.859 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.1589, allocations: 1.562 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.159, allocations: 30.66 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.159, allocations: 3.938 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000163/0.1591, allocations: 57.62 kB / 0.8485 GB, free: 3.398 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.1592, allocations: 52.31 kB / 0.8486 GB, free: 3.336 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.236e-05/0.1593, allocations: 97.84 kB / 0.8487 GB, free: 3.23 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1593, allocations: 36.2 kB / 0.8487 GB, free: 3.191 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1594, allocations: 80.14 kB / 0.8488 GB, free: 3.109 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1594, allocations: 3.953 kB / 0.8488 GB, free: 3.105 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.1594, allocations: 21.7 kB / 0.8488 GB, free: 3.078 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1596, allocations: 310.8 kB / 0.8491 GB, free: 2.766 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.1596, allocations: 4 kB / 0.8491 GB, free: 2.762 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.562e-05/0.1596, allocations: 11.94 kB / 0.8491 GB, free: 2.75 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.1597, allocations: 26.5 kB / 0.8492 GB, free: 2.723 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1597, allocations: 3.938 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.322e-05/0.1598, allocations: 45.66 kB / 0.8492 GB, free: 2.668 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1598, allocations: 4 kB / 0.8492 GB, free: 2.664 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1598, allocations: 1.531 kB / 0.8492 GB, free: 2.664 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1598, allocations: 3.938 kB / 0.8492 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.1598, allocations: 11.98 kB / 0.8492 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1598, allocations: 0 / 0.8492 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.1599, allocations: 4.719 kB / 0.8492 GB, free: 2.645 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.1599, allocations: 0 / 0.8492 GB, free: 2.645 MB / 474.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 8.89e-05/0.16, allocations: 106.9 kB / 0.8493 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.16, allocations: 4 kB / 0.8493 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.16, allocations: 8.281 kB / 0.8493 GB, free: 2.52 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.16, allocations: 3.938 kB / 0.8494 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.16, allocations: 4.438 kB / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.16, allocations: 0.5938 kB / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.1601, allocations: 109.6 kB / 0.8495 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1601, allocations: 0.6875 kB / 0.8495 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.263e-05/0.1602, allocations: 4.5 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1602, allocations: 0 / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.1602, allocations: 0.5938 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1602, allocations: 0.6562 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1602, allocations: 3.938 kB / 0.8495 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1603, allocations: 73.78 kB / 0.8495 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.1603, allocations: 4 kB / 0.8495 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1603, allocations: 4.5 kB / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.1603, allocations: 0.625 kB / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.1603, allocations: 11.92 kB / 0.8496 GB, free: 2.258 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1603, allocations: 0.5625 kB / 0.8496 GB, free: 2.258 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.048e-05/0.1604, allocations: 79.78 kB / 0.8496 GB, free: 2.18 MB / 474.8 MB Notification: Performance of sort global known variables: time 9e-08/0.1604, allocations: 3.938 kB / 0.8496 GB, free: 2.176 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001726/0.1606, allocations: 4.719 kB / 0.8496 GB, free: 2.172 MB / 474.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 0.0001326/0.1607, allocations: 103.9 kB / 0.8497 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.613e-05/0.1608, allocations: 13.61 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1608, allocations: 4 kB / 0.8498 GB, free: 2.043 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.1608, allocations: 8 kB / 0.8498 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1609, allocations: 0 / 0.8498 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.1612, allocations: 117.5 kB / 0.8499 GB, free: 1.895 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.982e-05/0.1613, allocations: 65.25 kB / 0.8499 GB, free: 1.812 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.905e-05/0.1613, allocations: 0 / 0.8499 GB, free: 1.812 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.1613, allocations: 11.38 kB / 0.85 GB, free: 1.801 MB / 474.8 MB Notification: Performance of SimCode: time 4.51e-07/0.1613, allocations: 0 / 0.85 GB, free: 1.801 MB / 474.8 MB Notification: Performance of Templates: time 0.002847/0.1642, allocations: 413.5 kB / 0.8504 GB, free: 1.469 MB / 474.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: 7.4173006089404225]