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.001454/0.001454, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009575/0.0009575, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9877/0.9877, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7051/0.7051, allocations: 291.1 MB / 0.5382 GB, free: 51.89 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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.292e-05/3.493e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference): time 0.002988/0.003023, allocations: 2.69 MB / 0.7 GB, free: 7.699 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.008611, allocations: 6.611 MB / 0.7064 GB, free: 1.078 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003521/0.008963, allocations: 0 / 0.7064 GB, free: 1.078 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.009151, allocations: 39.58 kB / 0.7065 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.009482, allocations: 119 kB / 0.7066 GB, free: 0.9219 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.009849, allocations: 71.89 kB / 0.7066 GB, free: 0.8516 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.01023, allocations: 393.9 kB / 0.707 GB, free: 476 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.01046, allocations: 60.81 kB / 0.7071 GB, free: 420 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.01069, allocations: 207.4 kB / 0.7073 GB, free: 212 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.01094, allocations: 119.6 kB / 0.7074 GB, free: 92 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.01098, allocations: 24 kB / 0.7074 GB, free: 68 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.01102, allocations: 28 kB / 0.7074 GB, free: 40 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.837e-05/0.01109, allocations: 59.73 kB / 0.7075 GB, free: 15.98 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.01122, allocations: 115.7 kB / 0.7076 GB, free: 15.87 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.01157, allocations: 291.1 kB / 0.7079 GB, free: 15.58 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01158, allocations: 0 / 0.7079 GB, free: 15.58 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.046e-06/0.01158, allocations: 4 kB / 0.7079 GB, free: 15.58 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.01159, allocations: 0 / 0.7079 GB, free: 15.58 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.0008673/0.01246, allocations: 0.5925 MB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.01251, allocations: 8.031 kB / 0.7085 GB, free: 14.93 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.01257, allocations: 32.75 kB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.01285, allocations: 212.7 kB / 0.7087 GB, free: 14.66 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.01287, allocations: 16.69 kB / 0.7087 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.01292, allocations: 28.36 kB / 0.7088 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.01329, allocations: 296.5 kB / 0.709 GB, free: 14.31 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.01331, allocations: 11.94 kB / 0.709 GB, free: 14.3 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.01333, allocations: 4 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01333, allocations: 4 kB / 0.7091 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.01364, allocations: 228.5 kB / 0.7093 GB, free: 14.05 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008619/0.0145, allocations: 0.6757 MB / 0.7099 GB, free: 13.34 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.01489, allocations: 242 kB / 0.7102 GB, free: 13.07 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.01505, allocations: 156.4 kB / 0.7103 GB, free: 12.91 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.01506, allocations: 4 kB / 0.7103 GB, free: 12.9 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003179/0.01538, allocations: 363.7 kB / 0.7107 GB, free: 12.5 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.01538, allocations: 4 kB / 0.7107 GB, free: 12.5 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001325/0.01671, allocations: 1.078 MB / 0.7117 GB, free: 11.33 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.01679, allocations: 221.6 kB / 0.7119 GB, free: 11.06 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01697, allocations: 241.9 kB / 0.7122 GB, free: 10.82 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01699, allocations: 37.7 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.01708, allocations: 164.7 kB / 0.7124 GB, free: 10.61 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.01714, allocations: 119.1 kB / 0.7125 GB, free: 10.49 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.01721, allocations: 70.19 kB / 0.7125 GB, free: 10.41 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.01735, allocations: 342.8 kB / 0.7129 GB, free: 10.07 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.01754, allocations: 211.9 kB / 0.7131 GB, free: 9.844 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.01775, allocations: 311.2 kB / 0.7134 GB, free: 9.477 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.01809, allocations: 435 kB / 0.7138 GB, free: 8.984 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01809, allocations: 0 / 0.7138 GB, free: 8.984 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004906/0.01858, allocations: 0.5497 MB / 0.7143 GB, free: 8.391 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.01864, allocations: 89.09 kB / 0.7144 GB, free: 8.285 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01865, allocations: 4 kB / 0.7144 GB, free: 8.281 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.01867, allocations: 4.344 kB / 0.7144 GB, free: 8.277 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.01885, allocations: 83.89 kB / 0.7145 GB, free: 8.195 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.01886, allocations: 7.938 kB / 0.7145 GB, free: 8.188 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.019, allocations: 19.98 kB / 0.7145 GB, free: 8.168 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.01902, allocations: 16 kB / 0.7145 GB, free: 8.152 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.00025/0.01927, allocations: 221.6 kB / 0.7147 GB, free: 7.918 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.01931, allocations: 31.81 kB / 0.7148 GB, free: 7.887 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.01937, allocations: 38.95 kB / 0.7148 GB, free: 7.848 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.01938, allocations: 4 kB / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.01939, allocations: 0 / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01939, allocations: 0 / 0.7148 GB, free: 7.844 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.02027, allocations: 0.7639 MB / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.02027, allocations: 0 / 0.7156 GB, free: 7.02 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.02044, allocations: 55.89 kB / 0.7156 GB, free: 6.965 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.02045, allocations: 0 / 0.7156 GB, free: 6.965 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.02047, allocations: 16 kB / 0.7156 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.02047, allocations: 4 kB / 0.7156 GB, free: 6.945 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.02048, allocations: 11.91 kB / 0.7156 GB, free: 6.934 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007643/0.02124, allocations: 0.7269 MB / 0.7164 GB, free: 6.148 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.02127, allocations: 19.81 kB / 0.7164 GB, free: 6.129 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.02131, allocations: 16.05 kB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.02141, allocations: 15.98 kB / 0.7164 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.0215, allocations: 35.89 kB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.02151, allocations: 16 kB / 0.7165 GB, free: 6.047 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001168/0.02163, allocations: 181.2 kB / 0.7166 GB, free: 5.871 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02163, allocations: 3.938 kB / 0.7166 GB, free: 5.867 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000258/0.02189, allocations: 84 kB / 0.7167 GB, free: 5.785 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.0001305/0.02202, allocations: 130.9 kB / 0.7168 GB, free: 5.652 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.02253, allocations: 0.5646 MB / 0.7174 GB, free: 5.023 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02253, allocations: 0 / 0.7174 GB, free: 5.023 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.02275, allocations: 306 kB / 0.7177 GB, free: 4.688 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02314, allocations: 81 kB / 0.7178 GB, free: 4.609 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.02426, allocations: 0.8164 MB / 0.7185 GB, free: 3.75 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.02437, allocations: 160.3 kB / 0.7187 GB, free: 3.57 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/0.02444, allocations: 28.5 kB / 0.7187 GB, free: 3.543 MB / 426.8 MB Notification: Performance of SimCode: time 1.332e-06/0.02444, allocations: 0 / 0.7187 GB, free: 3.543 MB / 426.8 MB Notification: Performance of Templates: time 0.2063/0.2308, allocations: 4.021 MB / 0.7227 GB, free: 36.89 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA01_AminocaproicAcid.AminocaproicAcid_Stricker2013_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.837388390675187]