Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.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.001293/0.001293, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001355/0.001355, allocations: 165.9 kB / 23.21 MB, free: 1.332 MB / 18.57 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.9007/0.9007, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.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.7868/0.7868, allocations: 291.2 MB / 0.5382 GB, free: 51.87 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.6973 GB, free: 10.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.951e-05, allocations: 13.23 kB / 0.6973 GB, free: 10.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act): time 0.001001/0.00102, allocations: 0.6319 MB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 3.572e-05/0.001056, allocations: 4 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.00108, allocations: 3.938 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.001092, allocations: 4 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.2e-05/0.001114, allocations: 4 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.777e-05/0.001152, allocations: 3.984 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 4.544e-05/0.001198, allocations: 15.92 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.001236, allocations: 4 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.001264, allocations: 7.984 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.697e-05/0.001301, allocations: 3.984 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.001322, allocations: 7.938 kB / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-06/0.001326, allocations: 0 / 0.698 GB, free: 9.695 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.001337, allocations: 7.938 kB / 0.698 GB, free: 9.688 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.00135, allocations: 7.984 kB / 0.698 GB, free: 9.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 3.97e-05/0.001389, allocations: 7.984 kB / 0.698 GB, free: 9.672 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.001393, allocations: 4 kB / 0.698 GB, free: 9.668 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.21e-07/0.001393, allocations: 0 / 0.698 GB, free: 9.668 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.001397, allocations: 0 / 0.698 GB, free: 9.668 MB / 410.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.0002294/0.001627, allocations: 258.3 kB / 0.6983 GB, free: 9.383 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.00166, allocations: 8.031 kB / 0.6983 GB, free: 9.375 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.001684, allocations: 0.9375 kB / 0.6983 GB, free: 9.375 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.125e-05/0.001736, allocations: 117.7 kB / 0.6984 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.001745, allocations: 384 / 0.6984 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.001752, allocations: 4.375 kB / 0.6984 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.577e-05/0.001818, allocations: 38.27 kB / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.001825, allocations: 192 / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.001831, allocations: 384 / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.001835, allocations: 384 / 0.6985 GB, free: 9.188 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.001869, allocations: 19.86 kB / 0.6985 GB, free: 9.168 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.647e-05/0.001956, allocations: 113.2 kB / 0.6986 GB, free: 9.027 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.002079, allocations: 50.61 kB / 0.6986 GB, free: 8.969 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.498e-05/0.002104, allocations: 16.98 kB / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.002113, allocations: 0 / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.028e-05/0.002124, allocations: 34.56 kB / 0.6987 GB, free: 8.906 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.002124, allocations: 4 kB / 0.6987 GB, free: 8.902 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001048/0.002229, allocations: 57.62 kB / 0.6987 GB, free: 8.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.00225, allocations: 51.41 kB / 0.6988 GB, free: 8.777 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.812e-05/0.002288, allocations: 109.8 kB / 0.6989 GB, free: 8.66 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.002294, allocations: 25.7 kB / 0.6989 GB, free: 8.629 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.002306, allocations: 84.14 kB / 0.699 GB, free: 8.543 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.002324, allocations: 11.84 kB / 0.699 GB, free: 8.531 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.002342, allocations: 17.72 kB / 0.699 GB, free: 8.508 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.002379, allocations: 314.8 kB / 0.6993 GB, free: 8.191 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.002391, allocations: 8.234 kB / 0.6993 GB, free: 8.184 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.002402, allocations: 8 kB / 0.6993 GB, free: 8.176 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.00243, allocations: 24.86 kB / 0.6994 GB, free: 8.148 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002431, allocations: 3.938 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.892e-05/0.00247, allocations: 49.69 kB / 0.6994 GB, free: 8.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.002479, allocations: 4 kB / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.002482, allocations: 0 / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.002493, allocations: 0 / 0.6994 GB, free: 8.086 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.002516, allocations: 8 kB / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.002521, allocations: 0 / 0.6994 GB, free: 8.078 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.002532, allocations: 7.891 kB / 0.6994 GB, free: 8.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.002536, allocations: 4 kB / 0.6994 GB, free: 8.066 MB / 410.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 3.899e-05/0.002575, allocations: 117.8 kB / 0.6995 GB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-06/0.002578, allocations: 0 / 0.6995 GB, free: 7.941 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/0.002592, allocations: 7.688 kB / 0.6996 GB, free: 7.934 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.002594, allocations: 4 kB / 0.6996 GB, free: 7.93 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.002598, allocations: 0 / 0.6996 GB, free: 7.93 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.002601, allocations: 3.938 kB / 0.6996 GB, free: 7.926 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.156e-05/0.002643, allocations: 105.3 kB / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-07/0.002643, allocations: 0 / 0.6997 GB, free: 7.793 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.002656, allocations: 11.94 kB / 0.6997 GB, free: 7.781 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.12e-07/0.002657, allocations: 3.938 kB / 0.6997 GB, free: 7.777 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.002662, allocations: 4 kB / 0.6997 GB, free: 7.773 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.6e-07/0.002663, allocations: 0 / 0.6997 GB, free: 7.773 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.002663, allocations: 0 / 0.6997 GB, free: 7.773 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.686e-05/0.00271, allocations: 77.34 kB / 0.6998 GB, free: 7.68 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.002717, allocations: 8 kB / 0.6998 GB, free: 7.672 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-06/0.002726, allocations: 48 / 0.6998 GB, free: 7.672 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-06/0.002733, allocations: 7.922 kB / 0.6998 GB, free: 7.664 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.002746, allocations: 3.984 kB / 0.6998 GB, free: 7.66 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.002747, allocations: 4 kB / 0.6998 GB, free: 7.656 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.00276, allocations: 79.28 kB / 0.6999 GB, free: 7.578 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00276, allocations: 0 / 0.6999 GB, free: 7.578 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001062/0.002866, allocations: 15.94 kB / 0.6999 GB, free: 7.562 MB / 410.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 5.37e-05/0.00292, allocations: 103.2 kB / 0.7 GB, free: 7.453 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.29e-05/0.002983, allocations: 19.98 kB / 0.7 GB, free: 7.434 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.002985, allocations: 0 / 0.7 GB, free: 7.434 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.002995, allocations: 8 kB / 0.7 GB, free: 7.426 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.419e-05/0.003089, allocations: 4 kB / 0.7 GB, free: 7.422 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.003267, allocations: 146.4 kB / 0.7001 GB, free: 7.246 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.003294, allocations: 59.34 kB / 0.7002 GB, free: 7.168 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.003312, allocations: 16.5 kB / 0.7002 GB, free: 7.152 MB / 410.8 MB Notification: Performance of SimCode: time 7.21e-07/0.003313, allocations: 0 / 0.7002 GB, free: 7.152 MB / 410.8 MB Notification: Performance of Templates: time 0.001231/0.004544, allocations: 0.5246 MB / 0.7007 GB, free: 6.633 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_PD_act.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.371307644061744]