Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.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.002201/0.002201, 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.002065/0.002065, allocations: 218.4 kB / 22.25 MB, free: 3.578 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.755/1.755, allocations: 230.6 MB / 256 MB, free: 9.617 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.6/1.6, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt") [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.00461/0.00461, allocations: 73.77 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1936, allocations: 74 MB / 0.8472 GB, free: 4.926 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt): time 0.002225/0.1958, allocations: 0.6342 MB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.761e-05/0.1959, allocations: 8.562 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.1959, allocations: 0 / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1959, allocations: 0.5938 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.362e-05/0.196, allocations: 4.438 kB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.549e-05/0.1961, allocations: 3.984 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 8.81e-05/0.1961, allocations: 16.52 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.1962, allocations: 4.594 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.1962, allocations: 3.938 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.1963, allocations: 8.547 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1963, allocations: 0.625 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.1963, allocations: 4 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.1963, allocations: 8.5 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1964, allocations: 4.547 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.841e-05/0.1964, allocations: 15.91 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1964, allocations: 0.5938 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1964, allocations: 0.5938 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1964, allocations: 0 / 0.8479 GB, free: 4.227 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.0005159/0.197, allocations: 256.1 kB / 0.8482 GB, free: 3.945 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.197, allocations: 8.031 kB / 0.8482 GB, free: 3.938 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.197, allocations: 4.938 kB / 0.8482 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.1972, allocations: 114.4 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1972, allocations: 13.52 kB / 0.8483 GB, free: 3.785 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.1972, allocations: 4.312 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1973, allocations: 38.25 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1973, allocations: 1.094 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1973, allocations: 11.88 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1974, allocations: 0 / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.1974, allocations: 10.09 kB / 0.8484 GB, free: 3.719 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1976, allocations: 105.3 kB / 0.8485 GB, free: 3.586 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.1978, allocations: 50.58 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.1978, allocations: 8.859 kB / 0.8485 GB, free: 3.516 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.1979, allocations: 5.281 kB / 0.8485 GB, free: 3.512 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1979, allocations: 34.56 kB / 0.8486 GB, free: 3.469 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1979, allocations: 0 / 0.8486 GB, free: 3.469 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000207/0.1981, allocations: 57.7 kB / 0.8486 GB, free: 3.406 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.1982, allocations: 57.06 kB / 0.8487 GB, free: 3.34 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1983, allocations: 101.8 kB / 0.8488 GB, free: 3.23 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1983, allocations: 25.7 kB / 0.8488 GB, free: 3.199 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1983, allocations: 88.14 kB / 0.8489 GB, free: 3.109 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1984, allocations: 14.52 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1984, allocations: 17.72 kB / 0.8489 GB, free: 3.074 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1986, allocations: 310.8 kB / 0.8492 GB, free: 2.762 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.1986, allocations: 4 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.1986, allocations: 11.98 kB / 0.8492 GB, free: 2.746 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.499e-05/0.1987, allocations: 20.86 kB / 0.8492 GB, free: 2.723 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1987, allocations: 0 / 0.8492 GB, free: 2.723 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.64e-05/0.1988, allocations: 50.41 kB / 0.8493 GB, free: 2.668 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1988, allocations: 8 kB / 0.8493 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1988, allocations: 0.7188 kB / 0.8493 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.1988, allocations: 3.938 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.1989, allocations: 4.656 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1989, allocations: 0 / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.1989, allocations: 4.703 kB / 0.8493 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1989, allocations: 4.328 kB / 0.8493 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 (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 0.0001154/0.199, allocations: 110.4 kB / 0.8494 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.199, allocations: 4.75 kB / 0.8494 GB, free: 2.523 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.199, allocations: 11.67 kB / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1991, allocations: 12.36 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1991, allocations: 0.7812 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1991, allocations: 0.5938 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1992, allocations: 113.3 kB / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1992, allocations: 0.6875 kB / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.791e-05/0.1992, allocations: 4 kB / 0.8495 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.1992, allocations: 4.516 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1992, allocations: 0.5625 kB / 0.8496 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1992, allocations: 4 kB / 0.8496 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1992, allocations: 4.562 kB / 0.8496 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.1994, allocations: 85.55 kB / 0.8496 GB, free: 2.242 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-06/0.1994, allocations: 0 / 0.8496 GB, free: 2.242 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1994, allocations: 0.5 kB / 0.8496 GB, free: 2.242 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.917e-05/0.1994, allocations: 4.5 kB / 0.8496 GB, free: 2.238 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1994, allocations: 3.938 kB / 0.8497 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.1994, allocations: 0.7188 kB / 0.8497 GB, free: 2.234 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.073e-05/0.1995, allocations: 87.27 kB / 0.8497 GB, free: 2.148 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1995, allocations: 0.75 kB / 0.8497 GB, free: 2.148 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001696/0.1996, allocations: 4 kB / 0.8497 GB, free: 2.145 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.0001468/0.1998, allocations: 100.4 kB / 0.8498 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1999, allocations: 24.55 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1999, allocations: 0 / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.1999, allocations: 8.625 kB / 0.8499 GB, free: 2.004 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.2001, allocations: 8.594 kB / 0.8499 GB, free: 1.996 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2004, allocations: 111.6 kB / 0.85 GB, free: 1.863 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.051e-05/0.2005, allocations: 64.03 kB / 0.85 GB, free: 1.781 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.2005, allocations: 0 / 0.85 GB, free: 1.781 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.2005, allocations: 12.06 kB / 0.8501 GB, free: 1.77 MB / 474.8 MB Notification: Performance of SimCode: time 6.02e-07/0.2005, allocations: 0.625 kB / 0.8501 GB, free: 1.77 MB / 474.8 MB Notification: Performance of Templates: time 0.003159/0.2037, allocations: 413.6 kB / 0.8504 GB, free: 1.434 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Akimoto2011_PD_aptt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.50126561219804]