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.001867/0.001867, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002018/0.002018, allocations: 219.5 kB / 22.25 MB, free: 3.559 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.79/1.79, allocations: 230.6 MB / 256 MB, free: 9.586 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.387/1.387, 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.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.01083/0.01083, allocations: 73.14 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.2026, allocations: 73.99 MB / 0.8472 GB, free: 4.863 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_PD_maximum_lysis): time 0.002262/0.2048, allocations: 0.6285 MB / 0.8478 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.922e-05/0.2049, allocations: 8.438 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.2049, allocations: 0 / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.2049, allocations: 0.625 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 2.807e-05/0.205, allocations: 3.938 kB / 0.8478 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.335e-05/0.205, allocations: 8.547 kB / 0.8479 GB, free: 4.23 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.835e-05/0.2051, allocations: 8.625 kB / 0.8479 GB, free: 4.223 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.2051, allocations: 3.984 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.2051, allocations: 12.5 kB / 0.8479 GB, free: 4.207 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.2052, allocations: 8.516 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2052, allocations: 0 / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-06/0.2052, allocations: 0.625 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.2053, allocations: 8.531 kB / 0.8479 GB, free: 4.191 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.2053, allocations: 4 kB / 0.8479 GB, free: 4.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.611e-05/0.2054, allocations: 16.5 kB / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2054, allocations: 0.625 kB / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2054, allocations: 0 / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.2054, allocations: 0.625 kB / 0.8479 GB, free: 4.172 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.0004331/0.2058, allocations: 254.9 kB / 0.8482 GB, free: 3.891 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2058, allocations: 8.75 kB / 0.8482 GB, free: 3.883 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2059, allocations: 8.922 kB / 0.8482 GB, free: 3.875 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.206, allocations: 115.2 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.206, allocations: 4.375 kB / 0.8483 GB, free: 3.734 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.206, allocations: 1.031 kB / 0.8483 GB, free: 3.734 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.2061, allocations: 38.25 kB / 0.8483 GB, free: 3.691 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2061, allocations: 4.719 kB / 0.8483 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2062, allocations: 7.938 kB / 0.8483 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2062, allocations: 0.8125 kB / 0.8483 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.2062, allocations: 8 kB / 0.8483 GB, free: 3.672 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.2064, allocations: 110.1 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.2066, allocations: 46.58 kB / 0.8485 GB, free: 3.48 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.2066, allocations: 17.45 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2066, allocations: 0.7812 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2067, allocations: 34.56 kB / 0.8485 GB, free: 3.418 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2067, allocations: 0.5625 kB / 0.8485 GB, free: 3.418 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.2068, allocations: 58.34 kB / 0.8486 GB, free: 3.355 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.2069, allocations: 55.34 kB / 0.8487 GB, free: 3.289 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.709e-05/0.207, allocations: 106.8 kB / 0.8488 GB, free: 3.176 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.207, allocations: 25.7 kB / 0.8488 GB, free: 3.145 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2071, allocations: 80.8 kB / 0.8489 GB, free: 3.062 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.2071, allocations: 15.91 kB / 0.8489 GB, free: 3.047 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.2071, allocations: 14.88 kB / 0.8489 GB, free: 3.027 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.2073, allocations: 318.8 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.2073, allocations: 4 kB / 0.8492 GB, free: 2.703 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.2073, allocations: 8.969 kB / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.17e-05/0.2074, allocations: 28.84 kB / 0.8492 GB, free: 2.664 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2074, allocations: 2.094 kB / 0.8492 GB, free: 2.664 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.062e-05/0.2075, allocations: 42.03 kB / 0.8493 GB, free: 2.617 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2075, allocations: 8 kB / 0.8493 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2075, allocations: 3.938 kB / 0.8493 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2075, allocations: 3.938 kB / 0.8493 GB, free: 2.602 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.2076, allocations: 7.984 kB / 0.8493 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2076, allocations: 1.531 kB / 0.8493 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.2076, allocations: 3.953 kB / 0.8493 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2076, allocations: 7.984 kB / 0.8493 GB, free: 2.582 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 9.571e-05/0.2077, allocations: 111.8 kB / 0.8494 GB, free: 2.465 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-06/0.2077, allocations: 4 kB / 0.8494 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.2077, allocations: 3.688 kB / 0.8494 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2077, allocations: 3.938 kB / 0.8494 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2077, allocations: 2.625 kB / 0.8494 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2077, allocations: 3.938 kB / 0.8494 GB, free: 2.449 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.2079, allocations: 113.2 kB / 0.8495 GB, free: 2.309 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2079, allocations: 0 / 0.8495 GB, free: 2.309 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.2079, allocations: 4 kB / 0.8495 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2079, allocations: 0 / 0.8495 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.2079, allocations: 0 / 0.8495 GB, free: 2.305 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2079, allocations: 4.781 kB / 0.8496 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.2079, allocations: 3.938 kB / 0.8496 GB, free: 2.297 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.208, allocations: 81.98 kB / 0.8496 GB, free: 2.199 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.2081, allocations: 3.984 kB / 0.8496 GB, free: 2.195 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2081, allocations: 4 kB / 0.8496 GB, free: 2.191 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.193e-05/0.2081, allocations: 4.562 kB / 0.8496 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.2081, allocations: 4.5 kB / 0.8496 GB, free: 2.184 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2081, allocations: 3.938 kB / 0.8497 GB, free: 2.18 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.2082, allocations: 83.97 kB / 0.8497 GB, free: 2.098 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2082, allocations: 0 / 0.8497 GB, free: 2.098 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001869/0.2084, allocations: 8.5 kB / 0.8497 GB, free: 2.09 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.000122/0.2085, allocations: 103.9 kB / 0.8498 GB, free: 1.977 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.244e-05/0.2086, allocations: 24.56 kB / 0.8499 GB, free: 1.953 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2086, allocations: 0.625 kB / 0.8499 GB, free: 1.953 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.975e-05/0.2086, allocations: 7.984 kB / 0.8499 GB, free: 1.945 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.2087, allocations: 4.656 kB / 0.8499 GB, free: 1.941 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.209, allocations: 113.6 kB / 0.85 GB, free: 1.805 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.037e-05/0.2091, allocations: 63.94 kB / 0.85 GB, free: 1.723 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.46e-05/0.2091, allocations: 0.5938 kB / 0.85 GB, free: 1.723 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.2092, allocations: 11.44 kB / 0.8501 GB, free: 1.711 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.2092, allocations: 0.7188 kB / 0.8501 GB, free: 1.711 MB / 474.8 MB Notification: Performance of Templates: time 0.002815/0.212, allocations: 423.2 kB / 0.8505 GB, free: 1.375 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > 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: 7.263205923140049]