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.001311/0.001311, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.001482/0.001482, allocations: 217.8 kB / 23 MB, free: 2.977 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.9245/0.9245, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7154/0.7154, allocations: 312.3 MB / 0.6108 GB, free: 97.12 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.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.002075/0.002075, allocations: 81.28 kB / 0.7699 GB, free: 19.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1225, allocations: 73.99 MB / 0.8421 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph): time 0.001394/0.1239, allocations: 0.62 MB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.649e-05/0.1239, allocations: 8.562 kB / 0.8427 GB, free: 9.262 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.124, allocations: 4.656 kB / 0.8428 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.124, allocations: 0 / 0.8428 GB, free: 9.258 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.431e-05/0.124, allocations: 4.594 kB / 0.8428 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.315e-05/0.1241, allocations: 3.984 kB / 0.8428 GB, free: 9.25 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.1241, allocations: 16.48 kB / 0.8428 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.1242, allocations: 0.7812 kB / 0.8428 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.1242, allocations: 8 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.1242, allocations: 16.47 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1243, allocations: 0.6875 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.879e-06/0.1243, allocations: 0 / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1243, allocations: 8.562 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.033e-05/0.1243, allocations: 11.98 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.013e-05/0.1244, allocations: 8.562 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1244, allocations: 3.984 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1244, allocations: 0.625 kB / 0.8428 GB, free: 9.18 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1244, allocations: 0 / 0.8428 GB, free: 9.18 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.0003237/0.1247, allocations: 259.5 kB / 0.8431 GB, free: 8.895 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1247, allocations: 8.031 kB / 0.8431 GB, free: 8.887 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.1248, allocations: 5.656 kB / 0.8431 GB, free: 8.883 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.1249, allocations: 106.5 kB / 0.8432 GB, free: 8.754 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1249, allocations: 1 kB / 0.8432 GB, free: 8.754 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1249, allocations: 8.312 kB / 0.8432 GB, free: 8.746 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.052e-05/0.125, allocations: 38.91 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.125, allocations: 0.8125 kB / 0.8432 GB, free: 8.703 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.125, allocations: 3.938 kB / 0.8432 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.125, allocations: 4.594 kB / 0.8432 GB, free: 8.695 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.125, allocations: 11.94 kB / 0.8433 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.1251, allocations: 113.9 kB / 0.8434 GB, free: 8.543 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.1253, allocations: 43.27 kB / 0.8434 GB, free: 8.492 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.1253, allocations: 13.48 kB / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.1253, allocations: 0 / 0.8434 GB, free: 8.477 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.1254, allocations: 35.16 kB / 0.8435 GB, free: 8.434 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1254, allocations: 0.625 kB / 0.8435 GB, free: 8.434 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001389/0.1255, allocations: 65.83 kB / 0.8435 GB, free: 8.363 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1255, allocations: 52.03 kB / 0.8436 GB, free: 8.301 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.1256, allocations: 109.8 kB / 0.8437 GB, free: 8.184 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.1256, allocations: 26.3 kB / 0.8437 GB, free: 8.152 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.1256, allocations: 80.64 kB / 0.8438 GB, free: 8.07 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1256, allocations: 23.83 kB / 0.8438 GB, free: 8.047 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1257, allocations: 18.27 kB / 0.8438 GB, free: 8.023 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.1257, allocations: 315.5 kB / 0.8441 GB, free: 7.707 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.572e-05/0.1258, allocations: 4 kB / 0.8441 GB, free: 7.703 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.1258, allocations: 4.531 kB / 0.8441 GB, free: 7.699 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.1258, allocations: 25.56 kB / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1258, allocations: 0 / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.043e-05/0.1259, allocations: 54.22 kB / 0.8442 GB, free: 7.613 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1259, allocations: 4 kB / 0.8442 GB, free: 7.609 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1259, allocations: 0.625 kB / 0.8442 GB, free: 7.609 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1259, allocations: 8.562 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/0.1259, allocations: 4 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1259, allocations: 0.5938 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.1259, allocations: 4.609 kB / 0.8442 GB, free: 7.594 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.1259, allocations: 4 kB / 0.8442 GB, free: 7.59 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 5.443e-05/0.126, allocations: 111 kB / 0.8443 GB, free: 7.473 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-06/0.126, allocations: 0.625 kB / 0.8443 GB, free: 7.473 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.586e-05/0.126, allocations: 7.688 kB / 0.8443 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.126, allocations: 8.609 kB / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.126, allocations: 0 / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.126, allocations: 0.5938 kB / 0.8443 GB, free: 7.457 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.104e-05/0.1261, allocations: 106 kB / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1261, allocations: 0 / 0.8444 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.1261, allocations: 8.625 kB / 0.8445 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1261, allocations: 3.938 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1261, allocations: 4.656 kB / 0.8445 GB, free: 7.309 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1261, allocations: 3.984 kB / 0.8445 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1261, allocations: 4.562 kB / 0.8445 GB, free: 7.301 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.504e-05/0.1262, allocations: 81.08 kB / 0.8446 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.1262, allocations: 0.625 kB / 0.8446 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.1262, allocations: 0.5 kB / 0.8446 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-06/0.1262, allocations: 4 kB / 0.8446 GB, free: 7.199 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.1262, allocations: 8.562 kB / 0.8446 GB, free: 7.191 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.1262, allocations: 0.5 kB / 0.8446 GB, free: 7.191 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.665e-05/0.1262, allocations: 87.52 kB / 0.8446 GB, free: 7.105 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1262, allocations: 0.5 kB / 0.8446 GB, free: 7.105 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001075/0.1264, allocations: 8.5 kB / 0.8447 GB, free: 7.098 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 7.847e-05/0.1264, allocations: 107.8 kB / 0.8448 GB, free: 6.98 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.1265, allocations: 20.7 kB / 0.8448 GB, free: 6.961 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1265, allocations: 0.5 kB / 0.8448 GB, free: 6.961 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.046e-05/0.1265, allocations: 8 kB / 0.8448 GB, free: 6.953 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.1266, allocations: 3.266 kB / 0.8448 GB, free: 6.953 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.1269, allocations: 151.1 kB / 0.8449 GB, free: 6.773 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.1269, allocations: 59.97 kB / 0.845 GB, free: 6.695 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.1269, allocations: 12.03 kB / 0.845 GB, free: 6.684 MB / 474.8 MB Notification: Performance of SimCode: time 4.51e-07/0.1269, allocations: 0 / 0.845 GB, free: 6.684 MB / 474.8 MB Notification: Performance of Templates: time 0.001397/0.1283, allocations: 0.5166 MB / 0.8455 GB, free: 6.188 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 > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Chen2006_PD_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.445489585399628]