Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.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.0009756/0.0009756, allocations: 104.4 kB / 19.71 MB, free: 436 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.001053/0.001053, allocations: 212.4 kB / 23.01 MB, free: 2.941 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.9136/0.9136, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7104/0.7104, allocations: 312.3 MB / 0.6109 GB, free: 96.98 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_Yang2009_PD_gastrin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin") [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.001766/0.001766, allocations: 78.03 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1235, allocations: 73.98 MB / 0.8421 GB, free: 9.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin): time 0.001365/0.1249, allocations: 0.6302 MB / 0.8427 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.271e-05/0.1249, allocations: 12.55 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.125, allocations: 0 / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.125, allocations: 0.5625 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.704e-05/0.125, allocations: 4.562 kB / 0.8428 GB, free: 9.219 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.223e-05/0.1251, allocations: 4 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.1251, allocations: 12.61 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.071e-05/0.1252, allocations: 4.578 kB / 0.8428 GB, free: 9.199 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.401e-05/0.1252, allocations: 15.92 kB / 0.8428 GB, free: 9.184 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.1253, allocations: 12.55 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1253, allocations: 0 / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-06/0.1253, allocations: 0.5 kB / 0.8428 GB, free: 9.172 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.1253, allocations: 4.719 kB / 0.8428 GB, free: 9.168 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1253, allocations: 7.938 kB / 0.8428 GB, free: 9.16 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.303e-05/0.1254, allocations: 16.58 kB / 0.8428 GB, free: 9.145 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1254, allocations: 0 / 0.8428 GB, free: 9.145 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1254, allocations: 0.7188 kB / 0.8428 GB, free: 9.145 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1254, allocations: 0 / 0.8428 GB, free: 9.145 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.0003185/0.1257, allocations: 261 kB / 0.8431 GB, free: 8.859 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1258, allocations: 8.625 kB / 0.8431 GB, free: 8.852 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1258, allocations: 5.562 kB / 0.8431 GB, free: 8.848 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.226e-05/0.1259, allocations: 110.5 kB / 0.8432 GB, free: 8.715 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.1259, allocations: 4.875 kB / 0.8432 GB, free: 8.711 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.1259, allocations: 1 kB / 0.8432 GB, free: 8.711 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.854e-05/0.126, allocations: 34.27 kB / 0.8432 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.126, allocations: 0.7812 kB / 0.8432 GB, free: 8.672 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.126, allocations: 11.92 kB / 0.8433 GB, free: 8.66 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.126, allocations: 4.438 kB / 0.8433 GB, free: 8.656 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.126, allocations: 12.66 kB / 0.8433 GB, free: 8.645 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000116/0.1262, allocations: 113.3 kB / 0.8434 GB, free: 8.504 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1263, allocations: 43.33 kB / 0.8434 GB, free: 8.453 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.1263, allocations: 17.34 kB / 0.8434 GB, free: 8.434 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.1263, allocations: 0.625 kB / 0.8434 GB, free: 8.434 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.1264, allocations: 34.56 kB / 0.8435 GB, free: 8.391 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1264, allocations: 0.625 kB / 0.8435 GB, free: 8.391 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000133/0.1265, allocations: 62.31 kB / 0.8435 GB, free: 8.324 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.1265, allocations: 51.41 kB / 0.8436 GB, free: 8.262 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.1266, allocations: 106.4 kB / 0.8437 GB, free: 8.148 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1266, allocations: 25.7 kB / 0.8437 GB, free: 8.117 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.1266, allocations: 80.86 kB / 0.8438 GB, free: 8.035 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1266, allocations: 19.84 kB / 0.8438 GB, free: 8.016 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.1267, allocations: 14.31 kB / 0.8438 GB, free: 7.996 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.379e-05/0.1267, allocations: 319.5 kB / 0.8441 GB, free: 7.676 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.1268, allocations: 4 kB / 0.8441 GB, free: 7.672 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.067e-05/0.1268, allocations: 4.688 kB / 0.8441 GB, free: 7.668 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.1268, allocations: 24.86 kB / 0.8442 GB, free: 7.641 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1268, allocations: 0.6875 kB / 0.8442 GB, free: 7.641 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.988e-05/0.1269, allocations: 49.62 kB / 0.8442 GB, free: 7.586 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1269, allocations: 4.625 kB / 0.8442 GB, free: 7.582 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.1269, allocations: 8.531 kB / 0.8442 GB, free: 7.574 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1269, allocations: 3.938 kB / 0.8442 GB, free: 7.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.1269, allocations: 8.609 kB / 0.8442 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1269, allocations: 0.6562 kB / 0.8442 GB, free: 7.562 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.127, allocations: 3.953 kB / 0.8442 GB, free: 7.559 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.127, allocations: 4.531 kB / 0.8442 GB, free: 7.555 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.854e-05/0.127, allocations: 110.4 kB / 0.8443 GB, free: 7.438 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-06/0.127, allocations: 4.625 kB / 0.8443 GB, free: 7.434 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.127, allocations: 3.938 kB / 0.8443 GB, free: 7.43 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.127, allocations: 4.531 kB / 0.8444 GB, free: 7.426 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.127, allocations: 4 kB / 0.8444 GB, free: 7.422 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1271, allocations: 0.625 kB / 0.8444 GB, free: 7.422 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.497e-05/0.1271, allocations: 109.9 kB / 0.8445 GB, free: 7.285 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1271, allocations: 0 / 0.8445 GB, free: 7.285 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.1271, allocations: 8.656 kB / 0.8445 GB, free: 7.277 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.1271, allocations: 0 / 0.8445 GB, free: 7.277 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1271, allocations: 4.594 kB / 0.8445 GB, free: 7.273 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1271, allocations: 4 kB / 0.8445 GB, free: 7.27 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1271, allocations: 4.5 kB / 0.8445 GB, free: 7.266 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.1272, allocations: 73.77 kB / 0.8446 GB, free: 7.176 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.1272, allocations: 4.312 kB / 0.8446 GB, free: 7.172 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.1272, allocations: 8.609 kB / 0.8446 GB, free: 7.164 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.1272, allocations: 4 kB / 0.8446 GB, free: 7.16 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.1273, allocations: 4.562 kB / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.1273, allocations: 0.7812 kB / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.567e-05/0.1273, allocations: 79.28 kB / 0.8446 GB, free: 7.078 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1273, allocations: 0.625 kB / 0.8446 GB, free: 7.078 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001063/0.1274, allocations: 8 kB / 0.8447 GB, free: 7.07 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.971e-05/0.1275, allocations: 116.4 kB / 0.8448 GB, free: 6.945 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.1275, allocations: 16 kB / 0.8448 GB, free: 6.93 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1275, allocations: 0.625 kB / 0.8448 GB, free: 6.93 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.1276, allocations: 11.98 kB / 0.8448 GB, free: 6.918 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.1277, allocations: 3.062 kB / 0.8448 GB, free: 6.918 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.1279, allocations: 143.3 kB / 0.8449 GB, free: 6.746 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.929e-05/0.1279, allocations: 67.94 kB / 0.845 GB, free: 6.66 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.128, allocations: 12 kB / 0.845 GB, free: 6.648 MB / 474.8 MB Notification: Performance of SimCode: time 6.32e-07/0.128, allocations: 0 / 0.845 GB, free: 6.648 MB / 474.8 MB Notification: Performance of Templates: time 0.001404/0.1294, allocations: 0.5189 MB / 0.8455 GB, free: 6.156 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A02B_DrugsForPepticUlcerAndGastroOesophagealRefluxDis.A02BC04_Rabeprazole.Rabeprazole_Yang2009_PD_gastrin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5440030712634325]