Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_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.001896/0.001896, 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.001963/0.001963, 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.691/1.691, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.353/1.353, allocations: 292.9 MB / 0.5392 GB, free: 50.19 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.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.6998 GB, free: 8.559 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.838e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.551 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference): time 0.002994/0.003022, allocations: 2.304 MB / 0.7021 GB, free: 6.23 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.003972, allocations: 0.5845 MB / 0.7027 GB, free: 5.645 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.004074, allocations: 4 kB / 0.7027 GB, free: 5.641 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.004193, allocations: 23.72 kB / 0.7027 GB, free: 5.617 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.004382, allocations: 87.27 kB / 0.7028 GB, free: 5.531 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.004588, allocations: 51.88 kB / 0.7028 GB, free: 5.48 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.004831, allocations: 266.6 kB / 0.7031 GB, free: 5.219 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.004968, allocations: 36.56 kB / 0.7031 GB, free: 5.188 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.005122, allocations: 139.6 kB / 0.7033 GB, free: 5.051 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.005317, allocations: 83.77 kB / 0.7033 GB, free: 4.969 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.005352, allocations: 16 kB / 0.7034 GB, free: 4.953 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.786e-05/0.005389, allocations: 16 kB / 0.7034 GB, free: 4.938 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.999e-05/0.005429, allocations: 47.78 kB / 0.7034 GB, free: 4.891 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.005516, allocations: 71.84 kB / 0.7035 GB, free: 4.82 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.005745, allocations: 203.3 kB / 0.7037 GB, free: 4.621 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005747, allocations: 0 / 0.7037 GB, free: 4.621 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005748, allocations: 3.938 kB / 0.7037 GB, free: 4.617 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.005754, allocations: 0 / 0.7037 GB, free: 4.617 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009163/0.00667, allocations: 496.8 kB / 0.7042 GB, free: 4.086 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.006718, allocations: 11.97 kB / 0.7042 GB, free: 4.074 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.006789, allocations: 28.8 kB / 0.7042 GB, free: 4.047 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007028, allocations: 182.4 kB / 0.7044 GB, free: 3.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.007049, allocations: 12.61 kB / 0.7044 GB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.007092, allocations: 12.38 kB / 0.7044 GB, free: 3.816 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.00744, allocations: 202.5 kB / 0.7046 GB, free: 3.605 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.007472, allocations: 7.938 kB / 0.7046 GB, free: 3.598 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.007495, allocations: 4 kB / 0.7046 GB, free: 3.594 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.007502, allocations: 4 kB / 0.7046 GB, free: 3.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003607/0.007862, allocations: 150.2 kB / 0.7047 GB, free: 3.438 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008786/0.008741, allocations: 477.5 kB / 0.7052 GB, free: 2.938 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.00925, allocations: 176 kB / 0.7054 GB, free: 2.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.009431, allocations: 94.52 kB / 0.7055 GB, free: 2.648 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.009445, allocations: 0 / 0.7055 GB, free: 2.648 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.009812, allocations: 236.4 kB / 0.7057 GB, free: 2.387 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.552e-06/0.009814, allocations: 4 kB / 0.7057 GB, free: 2.383 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.00135/0.01116, allocations: 0.6947 MB / 0.7064 GB, free: 1.625 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.01123, allocations: 144.5 kB / 0.7065 GB, free: 1.453 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.01142, allocations: 219 kB / 0.7067 GB, free: 1.23 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01144, allocations: 33.7 kB / 0.7067 GB, free: 1.191 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.01152, allocations: 128.5 kB / 0.7069 GB, free: 1.062 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.01157, allocations: 67.48 kB / 0.7069 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.01165, allocations: 49.7 kB / 0.707 GB, free: 0.9414 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.01172, allocations: 338.8 kB / 0.7073 GB, free: 0.6016 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.01192, allocations: 148.9 kB / 0.7074 GB, free: 448 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.01213, allocations: 225.3 kB / 0.7077 GB, free: 176 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.01257, allocations: 282.3 kB / 0.7079 GB, free: 15.86 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01257, allocations: 0 / 0.7079 GB, free: 15.86 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006949/0.01327, allocations: 391.9 kB / 0.7083 GB, free: 15.44 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.01335, allocations: 68.17 kB / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.01335, allocations: 0 / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.01338, allocations: 4 kB / 0.7084 GB, free: 15.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.01359, allocations: 51.84 kB / 0.7084 GB, free: 15.31 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.01361, allocations: 4 kB / 0.7084 GB, free: 15.3 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.01379, allocations: 20.2 kB / 0.7084 GB, free: 15.29 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.01382, allocations: 16 kB / 0.7085 GB, free: 15.27 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0002499/0.01407, allocations: 173 kB / 0.7086 GB, free: 15.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.0141, allocations: 19.84 kB / 0.7086 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.868e-05/0.01417, allocations: 29.95 kB / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01417, allocations: 0 / 0.7087 GB, free: 15.04 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.01419, allocations: 3.938 kB / 0.7087 GB, free: 15.03 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01419, allocations: 0 / 0.7087 GB, free: 15.03 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.01512, allocations: 0.5445 MB / 0.7092 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01513, allocations: 4 kB / 0.7092 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.01534, allocations: 35.91 kB / 0.7092 GB, free: 14.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01534, allocations: 0 / 0.7092 GB, free: 14.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.01536, allocations: 8 kB / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01536, allocations: 0 / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01536, allocations: 0 / 0.7092 GB, free: 14.39 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.01625, allocations: 0.5021 MB / 0.7097 GB, free: 13.86 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.01629, allocations: 23.98 kB / 0.7098 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.01634, allocations: 8 kB / 0.7098 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.01652, allocations: 15.97 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.01661, allocations: 19.97 kB / 0.7098 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.01663, allocations: 15.92 kB / 0.7098 GB, free: 13.78 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001827/0.01681, allocations: 160.4 kB / 0.71 GB, free: 13.62 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01681, allocations: 0 / 0.71 GB, free: 13.62 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003057/0.01712, allocations: 52 kB / 0.71 GB, free: 13.57 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001744/0.01729, allocations: 119.2 kB / 0.7101 GB, free: 13.45 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006608/0.01795, allocations: 379.6 kB / 0.7105 GB, free: 13.04 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01795, allocations: 0 / 0.7105 GB, free: 13.04 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.01826, allocations: 177 kB / 0.7107 GB, free: 12.84 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.01873, allocations: 68.28 kB / 0.7107 GB, free: 12.78 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.01996, allocations: 0.5741 MB / 0.7113 GB, free: 12.17 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.02012, allocations: 121.6 kB / 0.7114 GB, free: 12.03 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.02022, allocations: 33.92 kB / 0.7114 GB, free: 12 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.02028, allocations: 20.5 kB / 0.7115 GB, free: 11.98 MB / 426.8 MB Notification: Performance of SimCode: time 9.92e-07/0.02029, allocations: 0 / 0.7115 GB, free: 11.98 MB / 426.8 MB Notification: Performance of Templates: time 0.009448/0.02973, allocations: 3.348 MB / 0.7147 GB, free: 8.793 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.91122952895239]