Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.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.001101/0.001101, 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.0009771/0.0009771, 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.9666/0.9666, 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.728/0.728, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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.B02AA02_TranexamicAcid.TranexamicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.923e-05, allocations: 10.16 kB / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid): time 0.002569/0.002598, allocations: 2.704 MB / 0.7 GB, free: 7.641 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.007354, allocations: 6.604 MB / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.007487, allocations: 0 / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.007625, allocations: 51.56 kB / 0.7065 GB, free: 0.9766 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.007842, allocations: 119 kB / 0.7066 GB, free: 0.8594 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.008067, allocations: 71.89 kB / 0.7067 GB, free: 0.7891 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.008323, allocations: 393.9 kB / 0.7071 GB, free: 412 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.008484, allocations: 56.83 kB / 0.7071 GB, free: 360 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.008645, allocations: 211.4 kB / 0.7073 GB, free: 148 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.008841, allocations: 119.6 kB / 0.7074 GB, free: 28 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.008876, allocations: 28 kB / 0.7075 GB, free: 0 / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.008922, allocations: 24.05 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.008965, allocations: 51.72 kB / 0.7075 GB, free: 15.93 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.009062, allocations: 115.7 kB / 0.7077 GB, free: 15.81 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.00934, allocations: 295.1 kB / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.009343, allocations: 0 / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.203e-06/0.009344, allocations: 0 / 0.7079 GB, free: 15.52 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.009351, allocations: 0 / 0.7079 GB, free: 15.52 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.000857/0.01021, allocations: 0.6003 MB / 0.7085 GB, free: 14.87 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.01026, allocations: 8.031 kB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.01033, allocations: 32.75 kB / 0.7086 GB, free: 14.83 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.0106, allocations: 216.7 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.01062, allocations: 16.75 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.01066, allocations: 24.38 kB / 0.7088 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.01102, allocations: 296.5 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.01104, allocations: 3.953 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.01106, allocations: 11.94 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.01107, allocations: 8 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.01137, allocations: 232.4 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.01221, allocations: 0.6679 MB / 0.71 GB, free: 13.27 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.01259, allocations: 245.1 kB / 0.7102 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.01274, allocations: 152.4 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.01276, allocations: 7.984 kB / 0.7104 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.0131, allocations: 357.6 kB / 0.7107 GB, free: 12.44 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.604e-06/0.0131, allocations: 0 / 0.7107 GB, free: 12.44 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001374/0.01448, allocations: 1.086 MB / 0.7118 GB, free: 11.27 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.01456, allocations: 221.6 kB / 0.712 GB, free: 11 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.01474, allocations: 245.8 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.01477, allocations: 37.7 kB / 0.7123 GB, free: 10.71 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.01486, allocations: 156.8 kB / 0.7124 GB, free: 10.55 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.01492, allocations: 115.1 kB / 0.7125 GB, free: 10.44 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.015, allocations: 74.19 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01511, allocations: 350.7 kB / 0.7129 GB, free: 10 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.01531, allocations: 207.9 kB / 0.7131 GB, free: 9.781 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.01554, allocations: 311.2 kB / 0.7134 GB, free: 9.418 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.01591, allocations: 435 kB / 0.7138 GB, free: 8.926 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01591, allocations: 0 / 0.7138 GB, free: 8.926 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005042/0.01642, allocations: 0.5497 MB / 0.7144 GB, free: 8.332 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.956e-05/0.01646, allocations: 89.11 kB / 0.7145 GB, free: 8.227 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.01647, allocations: 0 / 0.7145 GB, free: 8.227 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.01649, allocations: 8 kB / 0.7145 GB, free: 8.219 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.01666, allocations: 75.89 kB / 0.7145 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01667, allocations: 12.27 kB / 0.7145 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01678, allocations: 27.98 kB / 0.7146 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.0168, allocations: 12 kB / 0.7146 GB, free: 8.094 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.0001869/0.01698, allocations: 219.1 kB / 0.7148 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.01701, allocations: 31.81 kB / 0.7148 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.01706, allocations: 34.95 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.01706, allocations: 4 kB / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01706, allocations: 0 / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.01707, allocations: 7.984 kB / 0.7149 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.01778, allocations: 0.76 MB / 0.7156 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01778, allocations: 0 / 0.7156 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.01792, allocations: 51.91 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.01793, allocations: 4 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.01795, allocations: 11.98 kB / 0.7157 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.01795, allocations: 0 / 0.7157 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01795, allocations: 7.875 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000636/0.01859, allocations: 0.7308 MB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.01862, allocations: 27.8 kB / 0.7164 GB, free: 6.066 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.01866, allocations: 16.19 kB / 0.7164 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.01875, allocations: 15.98 kB / 0.7165 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/0.01883, allocations: 31.89 kB / 0.7165 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.01885, allocations: 15.98 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001171/0.01897, allocations: 177.2 kB / 0.7167 GB, free: 5.816 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01897, allocations: 0 / 0.7167 GB, free: 5.816 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002263/0.01919, allocations: 88 kB / 0.7167 GB, free: 5.73 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.000104/0.0193, allocations: 126.9 kB / 0.7169 GB, free: 5.602 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.01979, allocations: 0.5576 MB / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01979, allocations: 0 / 0.7174 GB, free: 4.977 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.02001, allocations: 309.6 kB / 0.7177 GB, free: 4.641 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.02035, allocations: 91.8 kB / 0.7178 GB, free: 4.555 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.02131, allocations: 0.8125 MB / 0.7186 GB, free: 3.699 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.02141, allocations: 156.3 kB / 0.7187 GB, free: 3.523 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/0.02148, allocations: 32.5 kB / 0.7188 GB, free: 3.492 MB / 426.8 MB Notification: Performance of SimCode: time 7.91e-07/0.02148, allocations: 0 / 0.7188 GB, free: 3.492 MB / 426.8 MB Notification: Performance of Templates: time 0.2001/0.2216, allocations: 4.022 MB / 0.7227 GB, free: 36.86 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.488256833516061]