Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.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.0008958/0.0008958, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.00209, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001563/0.001563, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.003289, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.975/0.975, allocations: 177.2 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08824/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.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.6818/0.6818, allocations: 291.1 MB / 0.5225 GB, free: 52.96 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0227/0.7045, allocations: 21.04 MB / 0.5431 GB, free: 31.99 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.B01AE03_Argatroban.Argatroban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.517e-06/1.094e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban): time 0.002009/0.00202, allocations: 2.952 MB / 0.5473 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.005323, allocations: 6.774 MB / 0.554 GB, free: 20.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.847e-05/0.005411, allocations: 0 / 0.554 GB, free: 20.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.635e-05/0.005477, allocations: 39.62 kB / 0.554 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.005629, allocations: 123 kB / 0.5541 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.005759, allocations: 75.78 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.005971, allocations: 389.9 kB / 0.5546 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.006079, allocations: 70.84 kB / 0.5546 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.006273, allocations: 254.5 kB / 0.5549 GB, free: 19.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.006435, allocations: 119.7 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.006466, allocations: 24 kB / 0.555 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.305e-05/0.006499, allocations: 27.94 kB / 0.555 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.006529, allocations: 39.88 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.006601, allocations: 91.81 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.006778, allocations: 207.2 kB / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.006792, allocations: 0 / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006793, allocations: 0 / 0.5554 GB, free: 19.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.006807, allocations: 4 kB / 0.5554 GB, free: 19.4 MB / 410.7 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.0006067/0.007414, allocations: 0.6244 MB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.007441, allocations: 19.84 kB / 0.556 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.007489, allocations: 32.91 kB / 0.556 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.007645, allocations: 193.5 kB / 0.5562 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.007665, allocations: 20.75 kB / 0.5562 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.007693, allocations: 24.33 kB / 0.5562 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.007877, allocations: 252 kB / 0.5565 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007889, allocations: 0 / 0.5565 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.007902, allocations: 12 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.007908, allocations: 4 kB / 0.5565 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.008016, allocations: 133.8 kB / 0.5566 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.008521, allocations: 0.5077 MB / 0.5571 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.008685, allocations: 158.1 kB / 0.5573 GB, free: 17.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.008732, allocations: 96.48 kB / 0.5574 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.008742, allocations: 7.938 kB / 0.5574 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.008904, allocations: 322.8 kB / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.008906, allocations: 0 / 0.5577 GB, free: 16.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006634/0.009569, allocations: 0.8092 MB / 0.5585 GB, free: 15.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.009607, allocations: 221.6 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.322e-05/0.0097, allocations: 221 kB / 0.5589 GB, free: 15.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.009714, allocations: 37.7 kB / 0.5589 GB, free: 15.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.009748, allocations: 145.2 kB / 0.5591 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.009791, allocations: 119 kB / 0.5592 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.009849, allocations: 70.16 kB / 0.5593 GB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1983/0.2082, allocations: 349.4 kB / 0.5596 GB, free: 79.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2083, allocations: 141.7 kB / 0.5597 GB, free: 79.47 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.529e-05/0.2084, allocations: 254 kB / 0.56 GB, free: 79.24 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.2086, allocations: 338.2 kB / 0.5603 GB, free: 78.99 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2086, allocations: 1.375 kB / 0.5603 GB, free: 78.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002781/0.2088, allocations: 386.8 kB / 0.5607 GB, free: 78.77 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.2089, allocations: 91.62 kB / 0.5607 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2089, allocations: 3.281 kB / 0.5607 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2089, allocations: 7.469 kB / 0.5608 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2092, allocations: 107.5 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2092, allocations: 7.5 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2093, allocations: 19.31 kB / 0.5609 GB, free: 78.67 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2093, allocations: 14.72 kB / 0.5609 GB, free: 78.67 MB / 410.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.0001324/0.2095, allocations: 205.6 kB / 0.5611 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.2095, allocations: 35.55 kB / 0.5611 GB, free: 78.49 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.2095, allocations: 34.14 kB / 0.5612 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2095, allocations: 3.203 kB / 0.5612 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2095, allocations: 1.688 kB / 0.5612 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2095, allocations: 6.453 kB / 0.5612 GB, free: 78.48 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004272/0.21, allocations: 0.5158 MB / 0.5617 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.21, allocations: 0.6094 kB / 0.5617 GB, free: 78.18 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.2102, allocations: 74.66 kB / 0.5617 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.2102, allocations: 26.89 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.2102, allocations: 3.969 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2102, allocations: 9.031 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2102, allocations: 3.078 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2102, allocations: 0.5625 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.2105, allocations: 0.5272 MB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2106, allocations: 10.17 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.2107, allocations: 18.58 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.2107, allocations: 24.45 kB / 0.5623 GB, free: 77.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2107, allocations: 10.8 kB / 0.5624 GB, free: 77.84 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.2108, allocations: 81.08 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.2108, allocations: 0.7188 kB / 0.5624 GB, free: 77.83 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002039/0.211, allocations: 85 kB / 0.5625 GB, free: 77.83 MB / 410.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 8.564e-05/0.2111, allocations: 106.5 kB / 0.5626 GB, free: 77.76 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.2113, allocations: 488.2 kB / 0.5631 GB, free: 77.4 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2113, allocations: 3.375 kB / 0.5631 GB, free: 77.4 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2114, allocations: 259.8 kB / 0.5633 GB, free: 77.21 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.2117, allocations: 128 kB / 0.5635 GB, free: 77.2 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/0.2195, allocations: 0.737 MB / 0.5642 GB, free: 76.83 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.749e-05/0.2196, allocations: 161.8 kB / 0.5643 GB, free: 76.75 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.2198, allocations: 158.5 kB / 0.5645 GB, free: 76.71 MB / 410.8 MB Notification: Performance of SimCode: time 5.61e-07/0.2198, allocations: 0 / 0.5645 GB, free: 76.71 MB / 410.8 MB Notification: Performance of Templates: time 0.003797/0.2236, allocations: 4.026 MB / 0.5684 GB, free: 76.02 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.323508953675628]