Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.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.0009824/0.0009824, allocations: 104.3 kB / 19.71 MB, free: 440 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.001132/0.001132, allocations: 217.3 kB / 23.01 MB, free: 2.961 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.048/1.048, allocations: 230.6 MB / 256.8 MB, free: 9.617 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.7552/0.7552, allocations: 312.3 MB / 0.6108 GB, free: 97.61 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.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis") [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.00155/0.00155, allocations: 71.48 kB / 0.7699 GB, free: 20.24 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.127, allocations: 73.99 MB / 0.8421 GB, free: 10.38 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis): time 0.001443/0.1284, allocations: 0.6188 MB / 0.8427 GB, free: 9.781 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.659e-05/0.1285, allocations: 8.562 kB / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1285, allocations: 0 / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1285, allocations: 0.625 kB / 0.8427 GB, free: 9.773 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.729e-05/0.1286, allocations: 7.938 kB / 0.8427 GB, free: 9.766 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.856e-05/0.1286, allocations: 4.547 kB / 0.8427 GB, free: 9.762 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.1287, allocations: 12.73 kB / 0.8427 GB, free: 9.75 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.1287, allocations: 7.938 kB / 0.8428 GB, free: 9.742 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.1287, allocations: 12.86 kB / 0.8428 GB, free: 9.73 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1288, allocations: 7.922 kB / 0.8428 GB, free: 9.723 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1288, allocations: 4 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.28e-06/0.1288, allocations: 0.5625 kB / 0.8428 GB, free: 9.719 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1288, allocations: 4.688 kB / 0.8428 GB, free: 9.715 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.1289, allocations: 11.92 kB / 0.8428 GB, free: 9.703 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.114e-05/0.1289, allocations: 8.516 kB / 0.8428 GB, free: 9.695 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1289, allocations: 0 / 0.8428 GB, free: 9.695 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1289, allocations: 0.5625 kB / 0.8428 GB, free: 9.695 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1289, allocations: 0.5312 kB / 0.8428 GB, free: 9.695 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.000635/0.1296, allocations: 254.9 kB / 0.843 GB, free: 9.414 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1296, allocations: 16.56 kB / 0.8431 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1296, allocations: 0.9375 kB / 0.8431 GB, free: 9.398 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.347e-05/0.1297, allocations: 119.1 kB / 0.8432 GB, free: 9.258 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1297, allocations: 384 / 0.8432 GB, free: 9.258 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1297, allocations: 5.047 kB / 0.8432 GB, free: 9.254 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.098e-05/0.1298, allocations: 42.75 kB / 0.8432 GB, free: 9.207 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1298, allocations: 192 / 0.8432 GB, free: 9.207 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1299, allocations: 4.5 kB / 0.8432 GB, free: 9.203 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1299, allocations: 0.625 kB / 0.8432 GB, free: 9.203 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.1299, allocations: 8 kB / 0.8432 GB, free: 9.195 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.13, allocations: 105.8 kB / 0.8433 GB, free: 9.062 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.1302, allocations: 51.14 kB / 0.8434 GB, free: 9.004 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.1302, allocations: 13.39 kB / 0.8434 GB, free: 8.988 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.1302, allocations: 4.5 kB / 0.8434 GB, free: 8.984 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.1303, allocations: 30.56 kB / 0.8434 GB, free: 8.945 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1303, allocations: 0.625 kB / 0.8434 GB, free: 8.945 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001441/0.1304, allocations: 66.3 kB / 0.8435 GB, free: 8.875 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.1304, allocations: 51.41 kB / 0.8435 GB, free: 8.812 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.1305, allocations: 102.5 kB / 0.8436 GB, free: 8.703 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.1305, allocations: 29.7 kB / 0.8437 GB, free: 8.668 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/0.1305, allocations: 88.69 kB / 0.8438 GB, free: 8.578 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1306, allocations: 12.61 kB / 0.8438 GB, free: 8.566 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1306, allocations: 17.72 kB / 0.8438 GB, free: 8.543 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.1306, allocations: 315.6 kB / 0.8441 GB, free: 8.227 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.1307, allocations: 4 kB / 0.8441 GB, free: 8.223 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.441e-05/0.1307, allocations: 12.48 kB / 0.8441 GB, free: 8.211 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.1307, allocations: 17.64 kB / 0.8441 GB, free: 8.191 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1307, allocations: 0 / 0.8441 GB, free: 8.191 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.948e-05/0.1308, allocations: 53.62 kB / 0.8442 GB, free: 8.133 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1308, allocations: 10.91 kB / 0.8442 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1308, allocations: 0.625 kB / 0.8442 GB, free: 8.125 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1308, allocations: 3.938 kB / 0.8442 GB, free: 8.121 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.958e-05/0.1308, allocations: 8.875 kB / 0.8442 GB, free: 8.113 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1309, allocations: 0.5938 kB / 0.8442 GB, free: 8.113 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.1309, allocations: 11.95 kB / 0.8442 GB, free: 8.102 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1309, allocations: 0.6875 kB / 0.8442 GB, free: 8.102 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.369e-05/0.1309, allocations: 110.5 kB / 0.8443 GB, free: 7.984 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.1309, allocations: 336 / 0.8443 GB, free: 7.984 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.1309, allocations: 12.33 kB / 0.8443 GB, free: 7.973 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.131, allocations: 3.938 kB / 0.8443 GB, free: 7.969 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.131, allocations: 8.609 kB / 0.8443 GB, free: 7.961 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.131, allocations: 0.5938 kB / 0.8443 GB, free: 7.961 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.728e-05/0.131, allocations: 105.3 kB / 0.8444 GB, free: 7.828 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.131, allocations: 0.625 kB / 0.8444 GB, free: 7.828 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.131, allocations: 8 kB / 0.8444 GB, free: 7.82 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.131, allocations: 4.609 kB / 0.8444 GB, free: 7.816 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1311, allocations: 0.5 kB / 0.8444 GB, free: 7.816 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1311, allocations: 3.938 kB / 0.8444 GB, free: 7.812 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1311, allocations: 4.531 kB / 0.8445 GB, free: 7.809 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.1311, allocations: 77.58 kB / 0.8445 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.1311, allocations: 4.656 kB / 0.8445 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.1311, allocations: 0 / 0.8445 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.1311, allocations: 0.5938 kB / 0.8445 GB, free: 7.711 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.1312, allocations: 3.938 kB / 0.8445 GB, free: 7.707 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.1312, allocations: 4.625 kB / 0.8445 GB, free: 7.703 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.882e-05/0.1312, allocations: 87.27 kB / 0.8446 GB, free: 7.617 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1312, allocations: 0.5938 kB / 0.8446 GB, free: 7.617 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001091/0.1313, allocations: 4.625 kB / 0.8446 GB, free: 7.613 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.6e-05/0.1314, allocations: 103.7 kB / 0.8447 GB, free: 7.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.1315, allocations: 24.61 kB / 0.8448 GB, free: 7.477 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1315, allocations: 0 / 0.8448 GB, free: 7.477 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.1315, allocations: 8.594 kB / 0.8448 GB, free: 7.469 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.1316, allocations: 4.5 kB / 0.8448 GB, free: 7.465 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.1318, allocations: 139.3 kB / 0.8449 GB, free: 7.297 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.816e-05/0.1319, allocations: 67.91 kB / 0.845 GB, free: 7.211 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.1319, allocations: 8.031 kB / 0.845 GB, free: 7.203 MB / 474.8 MB Notification: Performance of SimCode: time 7.81e-07/0.1319, allocations: 0 / 0.845 GB, free: 7.203 MB / 474.8 MB Notification: Performance of Templates: time 0.001464/0.1334, allocations: 0.5196 MB / 0.8455 GB, free: 6.707 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.009213179349899]