Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_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.001344/0.001344, 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.001756/0.001756, allocations: 215.5 kB / 23 MB, free: 2.938 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 0.9734/0.9734, 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.753/0.753, allocations: 312.3 MB / 0.6108 GB, free: 97.15 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.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_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.001535/0.001535, allocations: 77.94 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1443, allocations: 73.99 MB / 0.8421 GB, free: 9.848 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference): time 0.003028/0.1474, allocations: 2.291 MB / 0.8444 GB, free: 7.559 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1484, allocations: 0.5869 MB / 0.8449 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.1485, allocations: 0.5625 kB / 0.8449 GB, free: 6.977 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.1487, allocations: 23.72 kB / 0.845 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1489, allocations: 84.66 kB / 0.8451 GB, free: 6.871 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1491, allocations: 52.59 kB / 0.8451 GB, free: 6.82 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.1494, allocations: 255.4 kB / 0.8453 GB, free: 6.57 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1496, allocations: 40.55 kB / 0.8454 GB, free: 6.531 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1497, allocations: 96.28 kB / 0.8455 GB, free: 6.438 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.15, allocations: 96.12 kB / 0.8456 GB, free: 6.344 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.15, allocations: 16 kB / 0.8456 GB, free: 6.328 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.963e-05/0.1501, allocations: 20.62 kB / 0.8456 GB, free: 6.309 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.1501, allocations: 35.84 kB / 0.8456 GB, free: 6.273 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.1502, allocations: 88.17 kB / 0.8457 GB, free: 6.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.1505, allocations: 203.7 kB / 0.8459 GB, free: 5.988 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1505, allocations: 4 kB / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1505, allocations: 0.5 kB / 0.8459 GB, free: 5.984 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1505, allocations: 0.5938 kB / 0.8459 GB, free: 5.984 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001081/0.1516, allocations: 0.4942 MB / 0.8464 GB, free: 5.445 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1516, allocations: 8.625 kB / 0.8464 GB, free: 5.438 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.1517, allocations: 28.8 kB / 0.8464 GB, free: 5.41 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1519, allocations: 179.8 kB / 0.8466 GB, free: 5.207 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1519, allocations: 9.234 kB / 0.8466 GB, free: 5.199 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.152, allocations: 23.89 kB / 0.8466 GB, free: 5.176 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1523, allocations: 191 kB / 0.8468 GB, free: 4.973 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.1523, allocations: 0.625 kB / 0.8468 GB, free: 4.973 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.1523, allocations: 8.594 kB / 0.8468 GB, free: 4.965 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1523, allocations: 4 kB / 0.8468 GB, free: 4.961 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.1525, allocations: 151.3 kB / 0.847 GB, free: 4.809 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.1531, allocations: 478.6 kB / 0.8474 GB, free: 4.309 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.1535, allocations: 173.3 kB / 0.8476 GB, free: 4.125 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1536, allocations: 95.64 kB / 0.8477 GB, free: 4.023 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1536, allocations: 7.938 kB / 0.8477 GB, free: 4.016 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002638/0.1539, allocations: 229.7 kB / 0.8479 GB, free: 3.762 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.1539, allocations: 0 / 0.8479 GB, free: 3.762 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001012/0.1549, allocations: 0.704 MB / 0.8486 GB, free: 3 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.155, allocations: 133.1 kB / 0.8487 GB, free: 2.84 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.1551, allocations: 226.9 kB / 0.849 GB, free: 2.609 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1552, allocations: 34.33 kB / 0.849 GB, free: 2.57 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.912e-05/0.1552, allocations: 128.5 kB / 0.8491 GB, free: 2.441 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1553, allocations: 72.09 kB / 0.8492 GB, free: 2.371 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.1553, allocations: 58.16 kB / 0.8492 GB, free: 2.309 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.1554, allocations: 334.8 kB / 0.8496 GB, free: 1.973 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1556, allocations: 146.3 kB / 0.8497 GB, free: 1.812 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1557, allocations: 222.4 kB / 0.8499 GB, free: 1.551 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.156, allocations: 274.7 kB / 0.8502 GB, free: 1.242 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.156, allocations: 0.5312 kB / 0.8502 GB, free: 1.242 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003675/0.1564, allocations: 392.8 kB / 0.8505 GB, free: 0.832 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.1564, allocations: 72.05 kB / 0.8506 GB, free: 0.75 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1564, allocations: 4 kB / 0.8506 GB, free: 0.7461 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1564, allocations: 4.625 kB / 0.8506 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1566, allocations: 48.5 kB / 0.8507 GB, free: 0.6953 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1566, allocations: 4 kB / 0.8507 GB, free: 0.6914 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.087e-05/0.1567, allocations: 17.64 kB / 0.8507 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1567, allocations: 12 kB / 0.8507 GB, free: 0.6641 MB / 474.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001766/0.1568, allocations: 180.1 kB / 0.8509 GB, free: 488 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1569, allocations: 27.8 kB / 0.8509 GB, free: 460 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.02e-05/0.1569, allocations: 26.89 kB / 0.8509 GB, free: 428 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1569, allocations: 4 kB / 0.8509 GB, free: 424 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1569, allocations: 2.156 kB / 0.8509 GB, free: 424 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1569, allocations: 0 / 0.8509 GB, free: 424 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.1575, allocations: 0.5392 MB / 0.8515 GB, free: 15.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1575, allocations: 3.938 kB / 0.8515 GB, free: 15.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1576, allocations: 41.56 kB / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1576, allocations: 0 / 0.8515 GB, free: 15.79 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1576, allocations: 8 kB / 0.8515 GB, free: 15.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1576, allocations: 3.938 kB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1576, allocations: 5.328 kB / 0.8515 GB, free: 15.77 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.1581, allocations: 495.4 kB / 0.852 GB, free: 15.25 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.1581, allocations: 27.89 kB / 0.852 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1581, allocations: 8 kB / 0.852 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.1582, allocations: 11.98 kB / 0.852 GB, free: 15.21 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.1583, allocations: 19.97 kB / 0.852 GB, free: 15.19 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1583, allocations: 15.92 kB / 0.8521 GB, free: 15.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.979e-05/0.1584, allocations: 156.4 kB / 0.8522 GB, free: 15.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1584, allocations: 0.7812 kB / 0.8522 GB, free: 15.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001967/0.1586, allocations: 52 kB / 0.8523 GB, free: 14.97 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001158/0.1587, allocations: 126.7 kB / 0.8524 GB, free: 14.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.1591, allocations: 380.2 kB / 0.8527 GB, free: 14.43 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1591, allocations: 0.5625 kB / 0.8527 GB, free: 14.43 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.1595, allocations: 173.7 kB / 0.8529 GB, free: 14.24 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1598, allocations: 68.73 kB / 0.853 GB, free: 14.18 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1609, allocations: 0.6994 MB / 0.8537 GB, free: 13.52 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.434e-05/0.1609, allocations: 125.6 kB / 0.8538 GB, free: 13.38 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.161, allocations: 23.44 kB / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of SimCode: time 9.72e-07/0.161, allocations: 0 / 0.8538 GB, free: 13.36 MB / 490.8 MB Notification: Performance of Templates: time 0.2838/0.4448, allocations: 2.925 MB / 0.8567 GB, free: 28.85 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB02_AntithrombinIii.AntithrombinIii_Kim2020_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.816554537042975]