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.002616/0.002616, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.003199/0.003199, allocations: 219.6 kB / 22.25 MB, free: 3.559 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 1.804/1.804, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.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.495/1.495, allocations: 316.7 MB / 0.6144 GB, free: 92.8 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004184/0.004184, allocations: 69.73 kB / 0.775 GB, free: 14.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1701, allocations: 73.99 MB / 0.8472 GB, free: 4.805 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference): time 0.004182/0.1743, allocations: 2.291 MB / 0.8495 GB, free: 2.516 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1756, allocations: 0.5914 MB / 0.85 GB, free: 1.93 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1757, allocations: 7.938 kB / 0.85 GB, free: 1.922 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1758, allocations: 28.33 kB / 0.8501 GB, free: 1.895 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1761, allocations: 80.45 kB / 0.8501 GB, free: 1.816 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1763, allocations: 56.5 kB / 0.8502 GB, free: 1.762 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.1766, allocations: 255.3 kB / 0.8504 GB, free: 1.512 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.1768, allocations: 36.56 kB / 0.8505 GB, free: 1.477 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.177, allocations: 92.28 kB / 0.8506 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1772, allocations: 104.1 kB / 0.8507 GB, free: 1.285 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.1773, allocations: 16 kB / 0.8507 GB, free: 1.27 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.612e-05/0.1773, allocations: 16.62 kB / 0.8507 GB, free: 1.254 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1774, allocations: 40.34 kB / 0.8507 GB, free: 1.215 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1775, allocations: 91.58 kB / 0.8508 GB, free: 1.125 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1778, allocations: 191.9 kB / 0.851 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1778, allocations: 0 / 0.851 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1778, allocations: 0.5 kB / 0.851 GB, free: 0.9375 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1778, allocations: 0.5625 kB / 0.851 GB, free: 0.9375 MB / 474.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.001113/0.179, allocations: 0.4946 MB / 0.8515 GB, free: 408 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.179, allocations: 12.03 kB / 0.8515 GB, free: 396 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.1791, allocations: 21.52 kB / 0.8515 GB, free: 376 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1794, allocations: 183.1 kB / 0.8517 GB, free: 164 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1794, allocations: 9.328 kB / 0.8517 GB, free: 156 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.1795, allocations: 19.89 kB / 0.8517 GB, free: 136 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.1799, allocations: 202.4 kB / 0.8519 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.1799, allocations: 4.812 kB / 0.8519 GB, free: 15.92 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.18, allocations: 4 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.18, allocations: 4.594 kB / 0.8519 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.1803, allocations: 147 kB / 0.8521 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.1812, allocations: 486.8 kB / 0.8525 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.1818, allocations: 173.5 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.182, allocations: 95.11 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.182, allocations: 0.5 kB / 0.8528 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.1824, allocations: 237.6 kB / 0.853 GB, free: 14.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.1824, allocations: 0.6875 kB / 0.853 GB, free: 14.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001695/0.1841, allocations: 0.6963 MB / 0.8537 GB, free: 13.95 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.1842, allocations: 140.5 kB / 0.8538 GB, free: 13.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.1845, allocations: 211.5 kB / 0.854 GB, free: 13.57 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.1846, allocations: 33.7 kB / 0.8541 GB, free: 13.53 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1847, allocations: 129 kB / 0.8542 GB, free: 13.4 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.652e-05/0.1848, allocations: 79.91 kB / 0.8543 GB, free: 13.32 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.1849, allocations: 58.16 kB / 0.8543 GB, free: 13.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1851, allocations: 338.8 kB / 0.8546 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.1854, allocations: 141.6 kB / 0.8548 GB, free: 12.77 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1857, allocations: 230.5 kB / 0.855 GB, free: 12.5 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3333/0.519, allocations: 274.5 kB / 0.8553 GB, free: 28.19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.519, allocations: 0 / 0.8553 GB, free: 28.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006391/0.5196, allocations: 392.7 kB / 0.8556 GB, free: 28.03 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.5197, allocations: 67.14 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5197, allocations: 5.047 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.5197, allocations: 4.5 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.5199, allocations: 48.73 kB / 0.8557 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5199, allocations: 3.938 kB / 0.8558 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.5201, allocations: 19.88 kB / 0.8558 GB, free: 27.96 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.5201, allocations: 13.33 kB / 0.8558 GB, free: 27.96 MB / 490.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.0001995/0.5203, allocations: 172.6 kB / 0.8559 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.5204, allocations: 25.77 kB / 0.856 GB, free: 27.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.5204, allocations: 24.59 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.5205, allocations: 2.109 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5205, allocations: 0.625 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5205, allocations: 3.062 kB / 0.856 GB, free: 27.81 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007185/0.5212, allocations: 0.5314 MB / 0.8565 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5212, allocations: 4.438 kB / 0.8565 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.5214, allocations: 33.61 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5214, allocations: 4.438 kB / 0.8566 GB, free: 27.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.5214, allocations: 11.52 kB / 0.8566 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5214, allocations: 2.188 kB / 0.8566 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5214, allocations: 0.7188 kB / 0.8566 GB, free: 27.51 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.5221, allocations: 0.4957 MB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.5221, allocations: 22.33 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.5222, allocations: 9.031 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.5223, allocations: 13.28 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.5224, allocations: 21.22 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.5224, allocations: 8.266 kB / 0.8571 GB, free: 27.29 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001317/0.5225, allocations: 159.2 kB / 0.8573 GB, free: 27.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5225, allocations: 0.6875 kB / 0.8573 GB, free: 27.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003093/0.5229, allocations: 61.56 kB / 0.8573 GB, free: 27.21 MB / 490.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.0001168/0.523, allocations: 110.4 kB / 0.8574 GB, free: 27.12 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005542/0.5235, allocations: 382 kB / 0.8578 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5235, allocations: 0.625 kB / 0.8578 GB, free: 26.9 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.5237, allocations: 172.9 kB / 0.858 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.5242, allocations: 71.78 kB / 0.858 GB, free: 26.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.5255, allocations: 0.6778 MB / 0.8587 GB, free: 26.52 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.784e-05/0.5256, allocations: 122.5 kB / 0.8588 GB, free: 26.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.5257, allocations: 24.45 kB / 0.8588 GB, free: 26.44 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.5258, allocations: 25.67 kB / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of SimCode: time 8.12e-07/0.5258, allocations: 0 / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of Templates: time 0.008613/0.5344, allocations: 3.645 MB / 0.8624 GB, free: 26.14 MB / 490.8 MB " [Timeout remaining time 659] 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: 7.732275385875255]