Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.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.0026/0.0026, 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.003127/0.003127, allocations: 221.4 kB / 22.25 MB, free: 3.57 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.67/1.67, allocations: 230.6 MB / 256 MB, free: 9.648 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.51/1.51, allocations: 316.8 MB / 0.6144 GB, free: 93.54 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.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph") [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.003829/0.003829, allocations: 77.5 kB / 0.775 GB, free: 14.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1708, allocations: 73.99 MB / 0.8472 GB, free: 5.129 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph): time 0.001935/0.1727, allocations: 0.6323 MB / 0.8479 GB, free: 4.512 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.942e-05/0.1728, allocations: 4.656 kB / 0.8479 GB, free: 4.508 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.57e-05/0.1728, allocations: 4.719 kB / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.1728, allocations: 0 / 0.8479 GB, free: 4.504 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.1729, allocations: 4.531 kB / 0.8479 GB, free: 4.5 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.335e-05/0.1729, allocations: 7.984 kB / 0.8479 GB, free: 4.492 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.657e-05/0.173, allocations: 16.61 kB / 0.8479 GB, free: 4.477 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.1731, allocations: 4.828 kB / 0.8479 GB, free: 4.473 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.094e-05/0.1731, allocations: 7.938 kB / 0.8479 GB, free: 4.465 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.1732, allocations: 4.609 kB / 0.8479 GB, free: 4.461 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.1732, allocations: 4 kB / 0.8479 GB, free: 4.457 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.03e-06/0.1732, allocations: 0.6562 kB / 0.8479 GB, free: 4.457 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.1732, allocations: 7.938 kB / 0.8479 GB, free: 4.449 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.1732, allocations: 4.625 kB / 0.8479 GB, free: 4.445 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.345e-05/0.1733, allocations: 7.922 kB / 0.8479 GB, free: 4.438 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1733, allocations: 4.594 kB / 0.8479 GB, free: 4.434 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1733, allocations: 0.5 kB / 0.8479 GB, free: 4.434 MB / 474.8 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1733, allocations: 0.5625 kB / 0.8479 GB, free: 4.434 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004638/0.1738, allocations: 258.9 kB / 0.8482 GB, free: 4.148 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1738, allocations: 8.031 kB / 0.8482 GB, free: 4.141 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.1738, allocations: 5.641 kB / 0.8482 GB, free: 4.137 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.174, allocations: 122.4 kB / 0.8483 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.174, allocations: 4.875 kB / 0.8483 GB, free: 3.988 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.174, allocations: 5.062 kB / 0.8483 GB, free: 3.984 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1741, allocations: 38.19 kB / 0.8484 GB, free: 3.941 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1741, allocations: 0.8125 kB / 0.8484 GB, free: 3.941 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1741, allocations: 7.938 kB / 0.8484 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1741, allocations: 0.5312 kB / 0.8484 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.1742, allocations: 8.531 kB / 0.8484 GB, free: 3.926 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.1744, allocations: 113.9 kB / 0.8485 GB, free: 3.785 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1746, allocations: 50.56 kB / 0.8485 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.1746, allocations: 13.48 kB / 0.8486 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1746, allocations: 1.219 kB / 0.8486 GB, free: 3.711 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.1746, allocations: 34.56 kB / 0.8486 GB, free: 3.668 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1746, allocations: 0 / 0.8486 GB, free: 3.668 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001605/0.1748, allocations: 58.81 kB / 0.8486 GB, free: 3.605 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1749, allocations: 55.34 kB / 0.8487 GB, free: 3.539 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.175, allocations: 105.8 kB / 0.8488 GB, free: 3.426 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.175, allocations: 26.83 kB / 0.8488 GB, free: 3.395 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.175, allocations: 80.14 kB / 0.8489 GB, free: 3.312 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.1751, allocations: 15.91 kB / 0.8489 GB, free: 3.297 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.1751, allocations: 11 kB / 0.8489 GB, free: 3.281 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1753, allocations: 322.8 kB / 0.8492 GB, free: 2.957 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.1753, allocations: 4 kB / 0.8492 GB, free: 2.953 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.1753, allocations: 10.56 kB / 0.8492 GB, free: 2.945 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.837e-05/0.1754, allocations: 20.84 kB / 0.8493 GB, free: 2.922 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1754, allocations: 0 / 0.8493 GB, free: 2.922 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.719e-05/0.1754, allocations: 45.7 kB / 0.8493 GB, free: 2.871 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1755, allocations: 10.28 kB / 0.8493 GB, free: 2.863 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1755, allocations: 0 / 0.8493 GB, free: 2.863 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1755, allocations: 3.938 kB / 0.8493 GB, free: 2.859 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.1755, allocations: 13.33 kB / 0.8493 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1755, allocations: 0 / 0.8493 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.1756, allocations: 7.891 kB / 0.8493 GB, free: 2.84 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.1756, allocations: 0 / 0.8493 GB, free: 2.84 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 (4): * Single equations (assignments): 4 * 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.998e-05/0.1756, allocations: 115.5 kB / 0.8495 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.1757, allocations: 0 / 0.8495 GB, free: 2.719 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.1757, allocations: 7.688 kB / 0.8495 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1757, allocations: 7.938 kB / 0.8495 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1757, allocations: 4.75 kB / 0.8495 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1757, allocations: 0 / 0.8495 GB, free: 2.699 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1758, allocations: 106.4 kB / 0.8496 GB, free: 2.566 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1758, allocations: 0 / 0.8496 GB, free: 2.566 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.1758, allocations: 8.25 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1758, allocations: 0.5 kB / 0.8496 GB, free: 2.559 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1758, allocations: 4.5 kB / 0.8496 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1758, allocations: 0.5938 kB / 0.8496 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1759, allocations: 3.938 kB / 0.8496 GB, free: 2.551 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.176, allocations: 81.91 kB / 0.8497 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.176, allocations: 8.609 kB / 0.8497 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.176, allocations: 0 / 0.8497 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.176, allocations: 4.531 kB / 0.8497 GB, free: 2.441 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.176, allocations: 7.969 kB / 0.8497 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.176, allocations: 4.562 kB / 0.8497 GB, free: 2.43 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.1761, allocations: 83.81 kB / 0.8498 GB, free: 2.348 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1761, allocations: 0 / 0.8498 GB, free: 2.348 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001692/0.1763, allocations: 8.578 kB / 0.8498 GB, free: 2.34 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 (4): * Single equations (assignments): 4 * 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.0001139/0.1764, allocations: 104.3 kB / 0.8499 GB, free: 2.227 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.22e-05/0.1765, allocations: 19.94 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1765, allocations: 0.625 kB / 0.8499 GB, free: 2.207 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.976e-05/0.1765, allocations: 8.578 kB / 0.8499 GB, free: 2.199 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.1766, allocations: 8 kB / 0.8499 GB, free: 2.191 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.1769, allocations: 109.6 kB / 0.85 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.761e-05/0.177, allocations: 64.62 kB / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.598e-05/0.177, allocations: 0 / 0.8501 GB, free: 1.977 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.177, allocations: 12.56 kB / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of SimCode: time 4.21e-07/0.177, allocations: 0 / 0.8501 GB, free: 1.965 MB / 474.8 MB Notification: Performance of Templates: time 0.002818/0.1798, allocations: 425.6 kB / 0.8505 GB, free: 1.629 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.381520634051412]