Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.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.001492/0.001492, 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.001989/0.001989, allocations: 221.6 kB / 23 MB, free: 2.977 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.9768/0.9768, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.7618/0.7618, allocations: 312.3 MB / 0.6108 GB, free: 97.14 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.B01AA07_Acenocoumarol.Acenocoumarol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol") [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.001362/0.001362, allocations: 78.41 kB / 0.7699 GB, free: 19.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1298, allocations: 73.98 MB / 0.8421 GB, free: 9.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol): time 0.00277/0.1326, allocations: 2.325 MB / 0.8444 GB, free: 7.531 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.1334, allocations: 0.5791 MB / 0.845 GB, free: 6.953 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.1335, allocations: 8.531 kB / 0.845 GB, free: 6.945 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1336, allocations: 28.36 kB / 0.845 GB, free: 6.918 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1338, allocations: 100.5 kB / 0.8451 GB, free: 6.82 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.134, allocations: 56.38 kB / 0.8452 GB, free: 6.766 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003846/0.1344, allocations: 454 kB / 0.8456 GB, free: 6.32 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1345, allocations: 65.67 kB / 0.8457 GB, free: 6.258 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1347, allocations: 163.5 kB / 0.8458 GB, free: 6.098 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1348, allocations: 188.6 kB / 0.846 GB, free: 5.914 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1349, allocations: 28 kB / 0.846 GB, free: 5.887 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.91e-05/0.1349, allocations: 28.69 kB / 0.846 GB, free: 5.859 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.135, allocations: 83.73 kB / 0.8461 GB, free: 5.777 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1351, allocations: 148 kB / 0.8463 GB, free: 5.633 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1354, allocations: 370.6 kB / 0.8466 GB, free: 5.27 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1354, allocations: 0.5938 kB / 0.8466 GB, free: 5.27 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1354, allocations: 0 / 0.8466 GB, free: 5.27 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1354, allocations: 0.5 kB / 0.8466 GB, free: 5.27 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007835/0.1362, allocations: 0.6486 MB / 0.8473 GB, free: 4.574 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1362, allocations: 8.75 kB / 0.8473 GB, free: 4.566 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.808e-05/0.1363, allocations: 36.7 kB / 0.8473 GB, free: 4.531 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1365, allocations: 257.6 kB / 0.8475 GB, free: 4.254 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1366, allocations: 16.81 kB / 0.8476 GB, free: 4.238 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1366, allocations: 32.92 kB / 0.8476 GB, free: 4.207 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003653/0.137, allocations: 367.9 kB / 0.8479 GB, free: 3.828 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.137, allocations: 8.562 kB / 0.8479 GB, free: 3.82 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.137, allocations: 8 kB / 0.848 GB, free: 3.812 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.137, allocations: 8.594 kB / 0.848 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.1374, allocations: 342 kB / 0.8483 GB, free: 3.461 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.1382, allocations: 0.7038 MB / 0.849 GB, free: 2.723 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.1387, allocations: 386.7 kB / 0.8493 GB, free: 2.324 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.1389, allocations: 236.8 kB / 0.8496 GB, free: 2.078 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1389, allocations: 4 kB / 0.8496 GB, free: 2.074 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.1392, allocations: 443 kB / 0.85 GB, free: 1.594 MB / 474.8 MB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.1392, allocations: 0.5 kB / 0.85 GB, free: 1.594 MB / 474.8 MB Notification: Performance of matching and sorting (n=39): time 0.001685/0.1409, allocations: 1.432 MB / 0.8514 GB, free: 68 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.141, allocations: 218.2 kB / 0.8516 GB, free: 15.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1412, allocations: 256.9 kB / 0.8519 GB, free: 15.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1412, allocations: 46.28 kB / 0.8519 GB, free: 15.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/0.1413, allocations: 152.8 kB / 0.852 GB, free: 15.34 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.1413, allocations: 135.5 kB / 0.8522 GB, free: 15.21 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.1414, allocations: 82.66 kB / 0.8522 GB, free: 15.12 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.1415, allocations: 343.4 kB / 0.8526 GB, free: 14.78 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.1418, allocations: 304.3 kB / 0.8529 GB, free: 14.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.142, allocations: 393.3 kB / 0.8532 GB, free: 14.02 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.1425, allocations: 0.5673 MB / 0.8538 GB, free: 13.39 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1425, allocations: 4 kB / 0.8538 GB, free: 13.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005667/0.143, allocations: 0.7162 MB / 0.8545 GB, free: 12.63 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.1431, allocations: 85.7 kB / 0.8546 GB, free: 12.53 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1431, allocations: 4.484 kB / 0.8546 GB, free: 12.53 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1431, allocations: 4.5 kB / 0.8546 GB, free: 12.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1433, allocations: 92.45 kB / 0.8547 GB, free: 12.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1433, allocations: 8 kB / 0.8547 GB, free: 12.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.1434, allocations: 28.59 kB / 0.8547 GB, free: 12.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.975e-05/0.1434, allocations: 20.69 kB / 0.8547 GB, free: 12.38 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: dose.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: 10 * Number of states: 0 () * Number of discrete variables: 21 (comp[1].Cmin,$PRE.comp[1].Cmin,comp[1].Cmax,$PRE.comp[1].Cmax,comp[2].Cmin,$PRE.comp[2].Cmin,comp[2].Cmax,$PRE.comp[2].Cmax,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,comp[2].rising,$PRE.comp[2].rising,comp[1].rising,$PRE.comp[1].rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * 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.0001922/0.1436, allocations: 272.8 kB / 0.855 GB, free: 12.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.1437, allocations: 32.38 kB / 0.855 GB, free: 12.07 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.1437, allocations: 42.95 kB / 0.8551 GB, free: 12.03 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1437, allocations: 5.094 kB / 0.8551 GB, free: 12.02 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1437, allocations: 0 / 0.8551 GB, free: 12.02 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1437, allocations: 0 / 0.8551 GB, free: 12.02 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2993/0.443, allocations: 0.9871 MB / 0.856 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.443, allocations: 0.9375 kB / 0.856 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.4432, allocations: 73.94 kB / 0.8561 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.4432, allocations: 4.562 kB / 0.8561 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.4433, allocations: 15.41 kB / 0.8561 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4433, allocations: 3.75 kB / 0.8561 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4433, allocations: 0 / 0.8561 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008193/0.4441, allocations: 0.9662 MB / 0.8571 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.825e-05/0.4442, allocations: 31.06 kB / 0.8571 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.4442, allocations: 28.2 kB / 0.8571 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.4443, allocations: 27.05 kB / 0.8572 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/0.4444, allocations: 41.97 kB / 0.8572 GB, free: 28.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4445, allocations: 14.56 kB / 0.8572 GB, free: 28.99 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000132/0.4446, allocations: 191.5 kB / 0.8574 GB, free: 28.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4446, allocations: 0 / 0.8574 GB, free: 28.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003164/0.4449, allocations: 99.97 kB / 0.8575 GB, free: 28.91 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (comp[1].C,comp[1].AUC,comp[2].C,comp[2].AUC,elim[1].MExc,elim[2].MExc,dose.TotalCumulativeMass) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,comp[1].Cmax,comp[1].Cmin,comp[1].rising,comp[2].Cmax,comp[2].Cmin,comp[2].rising,dose.pulse.T_start,dose.pulse.count) * Number of discrete states: 11 (dose.pulse.count,comp[2].Cmin,$whenCondition3,comp[2].Cmax,$whenCondition2,comp[2].rising,comp[1].Cmin,$whenCondition5,comp[1].Cmax,$whenCondition4,comp[1].rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 29 * 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.0001303/0.445, allocations: 137.8 kB / 0.8576 GB, free: 28.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000602/0.4456, allocations: 0.7219 MB / 0.8583 GB, free: 28.47 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4456, allocations: 2.031 kB / 0.8583 GB, free: 28.47 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.4459, allocations: 380.5 kB / 0.8587 GB, free: 28.28 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.4463, allocations: 90.48 kB / 0.8588 GB, free: 28.28 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.4477, allocations: 1.218 MB / 0.86 GB, free: 27.81 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.4478, allocations: 212.6 kB / 0.8602 GB, free: 27.73 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.4479, allocations: 30.66 kB / 0.8602 GB, free: 27.72 MB / 490.8 MB Notification: Performance of SimCode: time 7.42e-07/0.4479, allocations: 0 / 0.8602 GB, free: 27.72 MB / 490.8 MB Notification: Performance of Templates: time 0.006465/0.4544, allocations: 4.866 MB / 0.8649 GB, free: 27.33 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.076295994222164]