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.002526/0.002526, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.003477/0.003477, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.709/1.709, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 292.9 MB / 0.5392 GB, free: 49.83 MB / 410.7 MB " [Timeout remaining time 178] 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.6999 GB, free: 8.629 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.728e-05, allocations: 5.094 kB / 0.6999 GB, free: 8.625 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference): time 0.002944/0.002971, allocations: 2.7 MB / 0.7025 GB, free: 5.906 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00558/0.008551, allocations: 6.596 MB / 0.709 GB, free: 15.3 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.008686, allocations: 8 kB / 0.709 GB, free: 15.29 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.00887, allocations: 47.56 kB / 0.709 GB, free: 15.25 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.009373, allocations: 126.8 kB / 0.7091 GB, free: 15.12 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.009763, allocations: 67.86 kB / 0.7092 GB, free: 15.05 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.01026, allocations: 389.9 kB / 0.7096 GB, free: 14.67 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.01044, allocations: 60.83 kB / 0.7096 GB, free: 14.62 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.01072, allocations: 199.5 kB / 0.7098 GB, free: 14.42 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.01101, allocations: 123.6 kB / 0.7099 GB, free: 14.3 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.01106, allocations: 24 kB / 0.71 GB, free: 14.28 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.4e-05/0.01112, allocations: 28 kB / 0.71 GB, free: 14.25 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.01119, allocations: 63.62 kB / 0.71 GB, free: 14.19 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.01135, allocations: 111.8 kB / 0.7102 GB, free: 14.08 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.01176, allocations: 295 kB / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01176, allocations: 0 / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01176, allocations: 0 / 0.7104 GB, free: 13.79 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.01177, allocations: 0 / 0.7104 GB, free: 13.79 MB / 426.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.00117/0.01294, allocations: 0.6003 MB / 0.711 GB, free: 13.14 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01298, allocations: 8.031 kB / 0.711 GB, free: 13.13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.111e-05/0.01306, allocations: 36.69 kB / 0.7111 GB, free: 13.09 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.0134, allocations: 208.8 kB / 0.7113 GB, free: 12.86 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.01343, allocations: 12.75 kB / 0.7113 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.01348, allocations: 24.38 kB / 0.7113 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.01442, allocations: 292.5 kB / 0.7116 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.01444, allocations: 7.953 kB / 0.7116 GB, free: 12.52 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.01448, allocations: 8 kB / 0.7116 GB, free: 12.51 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.01449, allocations: 4 kB / 0.7116 GB, free: 12.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.01507, allocations: 232.4 kB / 0.7118 GB, free: 12.26 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.01654, allocations: 0.6834 MB / 0.7125 GB, free: 11.54 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.01722, allocations: 238 kB / 0.7127 GB, free: 11.28 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.01752, allocations: 152.4 kB / 0.7129 GB, free: 11.12 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.01754, allocations: 7.984 kB / 0.7129 GB, free: 11.11 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005838/0.01813, allocations: 369.2 kB / 0.7132 GB, free: 10.7 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.01813, allocations: 0 / 0.7132 GB, free: 10.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002295/0.02042, allocations: 1.068 MB / 0.7143 GB, free: 9.543 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.02059, allocations: 221.6 kB / 0.7145 GB, free: 9.277 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.02091, allocations: 245.9 kB / 0.7147 GB, free: 9.031 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.02095, allocations: 41.69 kB / 0.7147 GB, free: 8.984 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.0211, allocations: 156.9 kB / 0.7149 GB, free: 8.824 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.02123, allocations: 115.1 kB / 0.715 GB, free: 8.711 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.02136, allocations: 70.19 kB / 0.7151 GB, free: 8.633 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002122/0.02157, allocations: 346.8 kB / 0.7154 GB, free: 8.285 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003812/0.02195, allocations: 207.9 kB / 0.7156 GB, free: 8.062 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.02242, allocations: 319.1 kB / 0.7159 GB, free: 7.688 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.02313, allocations: 427.1 kB / 0.7163 GB, free: 7.203 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02313, allocations: 0 / 0.7163 GB, free: 7.203 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009659/0.0241, allocations: 0.5497 MB / 0.7168 GB, free: 6.609 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/0.02419, allocations: 89.09 kB / 0.7169 GB, free: 6.504 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.0242, allocations: 4 kB / 0.7169 GB, free: 6.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.02422, allocations: 4 kB / 0.7169 GB, free: 6.496 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.02455, allocations: 88.17 kB / 0.717 GB, free: 6.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.02456, allocations: 4 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.0248, allocations: 27.97 kB / 0.7171 GB, free: 6.379 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.02483, allocations: 15.94 kB / 0.7171 GB, free: 6.363 MB / 426.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.0003254/0.02516, allocations: 227 kB / 0.7173 GB, free: 6.121 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.02522, allocations: 31.81 kB / 0.7173 GB, free: 6.09 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.02529, allocations: 30.95 kB / 0.7173 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.0253, allocations: 12 kB / 0.7174 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.02531, allocations: 0 / 0.7174 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02532, allocations: 0 / 0.7174 GB, free: 6.047 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.02664, allocations: 0.7716 MB / 0.7181 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.02664, allocations: 0 / 0.7181 GB, free: 5.215 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.02721, allocations: 47.97 kB / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.02721, allocations: 0 / 0.7182 GB, free: 5.168 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.02725, allocations: 11.98 kB / 0.7182 GB, free: 5.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.02725, allocations: 4 kB / 0.7182 GB, free: 5.152 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.02725, allocations: 7.938 kB / 0.7182 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.02849, allocations: 0.7191 MB / 0.7189 GB, free: 4.367 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.02854, allocations: 27.8 kB / 0.7189 GB, free: 4.34 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.0286, allocations: 16.06 kB / 0.7189 GB, free: 4.324 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.02882, allocations: 15.98 kB / 0.7189 GB, free: 4.309 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.02893, allocations: 31.89 kB / 0.719 GB, free: 4.277 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.02896, allocations: 15.98 kB / 0.719 GB, free: 4.262 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002095/0.02917, allocations: 181.2 kB / 0.7192 GB, free: 4.086 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02917, allocations: 0 / 0.7192 GB, free: 4.086 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003696/0.02954, allocations: 84 kB / 0.7192 GB, free: 4.004 MB / 426.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.0001753/0.02971, allocations: 130.9 kB / 0.7194 GB, free: 3.871 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009272/0.03064, allocations: 0.5576 MB / 0.7199 GB, free: 3.246 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03064, allocations: 8.062 kB / 0.7199 GB, free: 3.238 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2072/0.2379, allocations: 289.8 kB / 0.7202 GB, free: 37.21 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008278/0.2387, allocations: 82.94 kB / 0.7203 GB, free: 37.21 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.2402, allocations: 0.802 MB / 0.7211 GB, free: 36.82 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.2404, allocations: 161.5 kB / 0.7212 GB, free: 36.74 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.2406, allocations: 35.23 kB / 0.7212 GB, free: 36.73 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.2407, allocations: 27.19 kB / 0.7213 GB, free: 36.72 MB / 426.8 MB Notification: Performance of SimCode: time 1.833e-06/0.2407, allocations: 3.969 kB / 0.7213 GB, free: 36.72 MB / 426.8 MB Notification: Performance of Templates: time 0.01205/0.2527, allocations: 4.562 MB / 0.7257 GB, free: 36.31 MB / 426.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.91207939106971]