Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.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.001326/0.001326, 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.001568/0.001568, allocations: 216.4 kB / 23 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.123/1.123, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.7983/0.7983, allocations: 312.3 MB / 0.6109 GB, free: 97.16 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.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference") [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.001546/0.001546, allocations: 70.7 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1545, allocations: 73.99 MB / 0.8422 GB, free: 9.797 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference): time 0.003096/0.1576, allocations: 2.694 MB / 0.8448 GB, free: 7.105 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.1634, allocations: 6.598 MB / 0.8512 GB, free: 0.5078 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.1636, allocations: 4.562 kB / 0.8512 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001574/0.1637, allocations: 43.62 kB / 0.8513 GB, free: 472 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.164, allocations: 112.4 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1643, allocations: 76.5 kB / 0.8515 GB, free: 284 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1646, allocations: 382.7 kB / 0.8518 GB, free: 15.9 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1648, allocations: 56.53 kB / 0.8519 GB, free: 15.85 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1649, allocations: 139.5 kB / 0.852 GB, free: 15.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.1651, allocations: 139.9 kB / 0.8521 GB, free: 15.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.1652, allocations: 24.5 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.1652, allocations: 24.59 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.1652, allocations: 55.72 kB / 0.8522 GB, free: 15.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.1653, allocations: 143.9 kB / 0.8524 GB, free: 15.34 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1656, allocations: 287.4 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1656, allocations: 0 / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1656, allocations: 0.625 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1656, allocations: 3.984 kB / 0.8527 GB, free: 15.05 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.0008834/0.1665, allocations: 0.5947 MB / 0.8532 GB, free: 14.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1665, allocations: 8.656 kB / 0.8532 GB, free: 14.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.1666, allocations: 32.75 kB / 0.8533 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1668, allocations: 209.7 kB / 0.8535 GB, free: 14.13 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1668, allocations: 16.69 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.1669, allocations: 32.56 kB / 0.8535 GB, free: 14.09 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1672, allocations: 288.5 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1672, allocations: 4.484 kB / 0.8538 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.1672, allocations: 8 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1672, allocations: 4.562 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.1675, allocations: 233.7 kB / 0.854 GB, free: 13.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008103/0.1683, allocations: 0.681 MB / 0.8547 GB, free: 12.81 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.1687, allocations: 241.7 kB / 0.8549 GB, free: 12.55 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1689, allocations: 149.1 kB / 0.8551 GB, free: 12.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.1689, allocations: 4.812 kB / 0.8551 GB, free: 12.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.1692, allocations: 356.9 kB / 0.8554 GB, free: 11.99 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.284e-06/0.1692, allocations: 0.5 kB / 0.8554 GB, free: 11.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.302/0.4712, allocations: 1.076 MB / 0.8565 GB, free: 21.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.4712, allocations: 223.2 kB / 0.8567 GB, free: 20.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.4714, allocations: 249.4 kB / 0.8569 GB, free: 20.66 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4714, allocations: 36.67 kB / 0.857 GB, free: 20.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.53e-05/0.4715, allocations: 156.7 kB / 0.8571 GB, free: 20.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.541e-05/0.4716, allocations: 116.1 kB / 0.8572 GB, free: 20.48 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.4716, allocations: 78.25 kB / 0.8573 GB, free: 20.46 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.4717, allocations: 338.4 kB / 0.8576 GB, free: 20.15 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4719, allocations: 212.7 kB / 0.8578 GB, free: 20.04 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.4721, allocations: 317 kB / 0.8581 GB, free: 19.81 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.4724, allocations: 434.9 kB / 0.8585 GB, free: 19.55 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.4724, allocations: 3.094 kB / 0.8585 GB, free: 19.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004634/0.4729, allocations: 0.5495 MB / 0.8591 GB, free: 19.31 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.4729, allocations: 91.81 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.473, allocations: 4.438 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.473, allocations: 5.656 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.4732, allocations: 78.7 kB / 0.8592 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4732, allocations: 7.312 kB / 0.8593 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.4733, allocations: 25.47 kB / 0.8593 GB, free: 19.22 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.4733, allocations: 14.41 kB / 0.8593 GB, free: 19.22 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.0001874/0.4735, allocations: 225.6 kB / 0.8595 GB, free: 19.04 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.4735, allocations: 32.5 kB / 0.8595 GB, free: 19.02 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.4736, allocations: 34.88 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4736, allocations: 3.125 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.4736, allocations: 0 / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.4736, allocations: 1.781 kB / 0.8596 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007126/0.4743, allocations: 0.7667 MB / 0.8603 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4743, allocations: 0 / 0.8603 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4745, allocations: 55.83 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.4745, allocations: 8.75 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4745, allocations: 13.42 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4745, allocations: 3.656 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4745, allocations: 3.938 kB / 0.8604 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.4751, allocations: 0.7214 MB / 0.8611 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.4751, allocations: 24.42 kB / 0.8611 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.4751, allocations: 16.27 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.466e-05/0.4752, allocations: 17.17 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.4753, allocations: 31.84 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.4753, allocations: 9 kB / 0.8612 GB, free: 18.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001186/0.4755, allocations: 181 kB / 0.8614 GB, free: 18.2 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.4755, allocations: 3.125 kB / 0.8614 GB, free: 18.2 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002205/0.4757, allocations: 87.47 kB / 0.8615 GB, free: 18.2 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.0001081/0.4758, allocations: 120.3 kB / 0.8616 GB, free: 18.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004726/0.4763, allocations: 0.5658 MB / 0.8621 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4763, allocations: 3.938 kB / 0.8621 GB, free: 17.77 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.4765, allocations: 298.6 kB / 0.8624 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.4768, allocations: 85.98 kB / 0.8625 GB, free: 17.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.478, allocations: 0.9631 MB / 0.8634 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.4782, allocations: 159.1 kB / 0.8636 GB, free: 17.01 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.4782, allocations: 31.92 kB / 0.8636 GB, free: 17 MB / 490.8 MB Notification: Performance of SimCode: time 1.203e-06/0.4782, allocations: 0 / 0.8636 GB, free: 17 MB / 490.8 MB Notification: Performance of Templates: time 0.005979/0.4842, allocations: 4.029 MB / 0.8676 GB, free: 16.65 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.822441480122507]