Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.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.001048/0.001048, 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.001184/0.001184, allocations: 221.3 kB / 23.01 MB, free: 2.945 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.005/1.005, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.8272/0.8272, allocations: 312.3 MB / 0.6108 GB, free: 97.56 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid") [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.001552/0.001552, allocations: 78.12 kB / 0.7699 GB, free: 20.08 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1549, allocations: 73.99 MB / 0.8422 GB, free: 10.22 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid): time 0.00355/0.1584, allocations: 2.709 MB / 0.8448 GB, free: 7.512 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007596/0.166, allocations: 6.601 MB / 0.8513 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.1663, allocations: 4.625 kB / 0.8513 GB, free: 0.9062 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.1665, allocations: 40.33 kB / 0.8513 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.1669, allocations: 119.6 kB / 0.8514 GB, free: 0.75 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1673, allocations: 69.08 kB / 0.8515 GB, free: 0.6836 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000487/0.1678, allocations: 382.1 kB / 0.8519 GB, free: 316 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.168, allocations: 53.52 kB / 0.8519 GB, free: 264 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.1682, allocations: 136.2 kB / 0.852 GB, free: 128 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.1685, allocations: 139.4 kB / 0.8522 GB, free: 15.98 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1686, allocations: 24.62 kB / 0.8522 GB, free: 15.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.35e-05/0.1686, allocations: 24.66 kB / 0.8522 GB, free: 15.94 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.347e-05/0.1687, allocations: 63.61 kB / 0.8523 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1688, allocations: 136 kB / 0.8524 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.1691, allocations: 286.8 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1691, allocations: 0.5938 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1691, allocations: 0.625 kB / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1691, allocations: 0 / 0.8527 GB, free: 15.46 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009388/0.1701, allocations: 0.6058 MB / 0.8533 GB, free: 14.81 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.1701, allocations: 12.61 kB / 0.8533 GB, free: 14.8 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.1702, allocations: 37.36 kB / 0.8533 GB, free: 14.76 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.1705, allocations: 209.1 kB / 0.8535 GB, free: 14.53 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.1705, allocations: 13.34 kB / 0.8535 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.1705, allocations: 27.94 kB / 0.8536 GB, free: 14.49 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.171, allocations: 289 kB / 0.8538 GB, free: 14.19 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.171, allocations: 8.578 kB / 0.8538 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.171, allocations: 4 kB / 0.8539 GB, free: 14.18 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.171, allocations: 8.5 kB / 0.8539 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1713, allocations: 233.1 kB / 0.8541 GB, free: 13.93 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.1723, allocations: 0.6815 MB / 0.8547 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004662/0.1728, allocations: 227.4 kB / 0.855 GB, free: 12.96 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.173, allocations: 156.9 kB / 0.8551 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.173, allocations: 4.594 kB / 0.8551 GB, free: 12.79 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003551/0.1733, allocations: 362.3 kB / 0.8555 GB, free: 12.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.607e-06/0.1733, allocations: 0 / 0.8555 GB, free: 12.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3179/0.4913, allocations: 1.08 MB / 0.8565 GB, free: 30.43 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.4913, allocations: 218.2 kB / 0.8567 GB, free: 30.18 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4916, allocations: 250.8 kB / 0.857 GB, free: 30.08 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.4916, allocations: 38.42 kB / 0.857 GB, free: 30.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.4917, allocations: 154.3 kB / 0.8571 GB, free: 29.95 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.4918, allocations: 115.2 kB / 0.8573 GB, free: 29.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.4919, allocations: 72.09 kB / 0.8573 GB, free: 29.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.665e-05/0.4919, allocations: 345.5 kB / 0.8577 GB, free: 29.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.4922, allocations: 209.2 kB / 0.8579 GB, free: 29.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.4924, allocations: 315.9 kB / 0.8582 GB, free: 29.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.4929, allocations: 436.5 kB / 0.8586 GB, free: 28.97 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4929, allocations: 0 / 0.8586 GB, free: 28.97 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000643/0.4935, allocations: 0.5509 MB / 0.8591 GB, free: 28.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.4935, allocations: 94.5 kB / 0.8592 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4936, allocations: 0 / 0.8592 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-05/0.4936, allocations: 4.719 kB / 0.8592 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.4938, allocations: 87.67 kB / 0.8593 GB, free: 28.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4939, allocations: 5.969 kB / 0.8593 GB, free: 28.62 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.494, allocations: 19.61 kB / 0.8593 GB, free: 28.62 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.4941, allocations: 19.91 kB / 0.8593 GB, free: 28.62 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002218/0.4943, allocations: 216.7 kB / 0.8595 GB, free: 28.44 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.4943, allocations: 36.8 kB / 0.8596 GB, free: 28.42 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/0.4944, allocations: 34.25 kB / 0.8596 GB, free: 28.41 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.4944, allocations: 2.406 kB / 0.8596 GB, free: 28.41 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.4944, allocations: 3.391 kB / 0.8596 GB, free: 28.41 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4944, allocations: 5.062 kB / 0.8596 GB, free: 28.41 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009106/0.4953, allocations: 0.7578 MB / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4953, allocations: 0 / 0.8604 GB, free: 28.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.4955, allocations: 60.81 kB / 0.8604 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4955, allocations: 1.094 kB / 0.8604 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.4955, allocations: 11.33 kB / 0.8604 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4955, allocations: 2.812 kB / 0.8604 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4955, allocations: 0 / 0.8604 GB, free: 28.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.4963, allocations: 0.7326 MB / 0.8611 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.4963, allocations: 29.55 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.52e-05/0.4964, allocations: 12.06 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.4965, allocations: 14.03 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4966, allocations: 29.2 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.4967, allocations: 12.52 kB / 0.8612 GB, free: 27.68 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001553/0.4968, allocations: 187.5 kB / 0.8614 GB, free: 27.59 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4968, allocations: 0 / 0.8614 GB, free: 27.59 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003718/0.4972, allocations: 88.75 kB / 0.8615 GB, free: 27.59 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0001237/0.4973, allocations: 115.6 kB / 0.8616 GB, free: 27.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.4979, allocations: 0.5659 MB / 0.8622 GB, free: 27.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4979, allocations: 0.6875 kB / 0.8622 GB, free: 27.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.4982, allocations: 300.7 kB / 0.8625 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.4987, allocations: 99.56 kB / 0.8625 GB, free: 26.95 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.5003, allocations: 0.9645 MB / 0.8635 GB, free: 26.48 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.5004, allocations: 158.8 kB / 0.8636 GB, free: 26.4 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/0.5005, allocations: 30.08 kB / 0.8637 GB, free: 26.39 MB / 490.8 MB Notification: Performance of SimCode: time 8.61e-07/0.5005, allocations: 4 kB / 0.8637 GB, free: 26.39 MB / 490.8 MB Notification: Performance of Templates: time 0.0078/0.5083, allocations: 4.005 MB / 0.8676 GB, free: 26.04 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.506719226017594]