Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.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.001007/0.001007, allocations: 104.3 kB / 19.71 MB, free: 440 kB / 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.001074/0.001074, allocations: 216 kB / 23 MB, free: 2.98 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.015/1.015, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.706/1.706, allocations: 334.2 MB / 0.6323 GB, free: 8.016 MB / 442.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin") [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.001784/0.001784, allocations: 67.89 kB / 0.8674 GB, free: 7.789 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1841, allocations: 112.8 MB / 0.9776 GB, free: 6.711 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin): time 0.003136/0.1872, allocations: 2.664 MB / 0.9802 GB, free: 4.035 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0009961/0.1882, allocations: 0.5804 MB / 0.9807 GB, free: 3.453 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1883, allocations: 4 kB / 0.9808 GB, free: 3.449 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1885, allocations: 27.72 kB / 0.9808 GB, free: 3.422 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1887, allocations: 71.41 kB / 0.9808 GB, free: 3.352 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.189, allocations: 51.88 kB / 0.9809 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.1893, allocations: 226.9 kB / 0.9811 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1895, allocations: 41.88 kB / 0.9812 GB, free: 3.035 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1896, allocations: 83.7 kB / 0.9812 GB, free: 2.953 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1898, allocations: 87.55 kB / 0.9813 GB, free: 2.867 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.1899, allocations: 24 kB / 0.9813 GB, free: 2.844 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 2.894e-05/0.1899, allocations: 16 kB / 0.9814 GB, free: 2.828 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 4.191e-05/0.1899, allocations: 35.84 kB / 0.9814 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 9.647e-05/0.19, allocations: 91.58 kB / 0.9815 GB, free: 2.703 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1903, allocations: 183.2 kB / 0.9817 GB, free: 2.523 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1903, allocations: 0 / 0.9817 GB, free: 2.523 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1903, allocations: 0 / 0.9817 GB, free: 2.523 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.1903, allocations: 0 / 0.9817 GB, free: 2.523 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008732/0.1912, allocations: 488.7 kB / 0.9821 GB, free: 2.004 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1912, allocations: 18.05 kB / 0.9821 GB, free: 1.988 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.1913, allocations: 24.8 kB / 0.9822 GB, free: 1.965 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.1915, allocations: 174.7 kB / 0.9823 GB, free: 1.77 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1915, allocations: 16.31 kB / 0.9823 GB, free: 1.754 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.1916, allocations: 15.94 kB / 0.9824 GB, free: 1.738 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/0.1919, allocations: 193.5 kB / 0.9825 GB, free: 1.527 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1919, allocations: 0 / 0.9825 GB, free: 1.527 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1919, allocations: 8 kB / 0.9825 GB, free: 1.52 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1919, allocations: 0 / 0.9825 GB, free: 1.52 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.1921, allocations: 154 kB / 0.9827 GB, free: 1.363 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.1928, allocations: 488.8 kB / 0.9832 GB, free: 0.8516 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1931, allocations: 168.2 kB / 0.9833 GB, free: 0.6719 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1932, allocations: 94.52 kB / 0.9834 GB, free: 0.5703 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.1932, allocations: 8 kB / 0.9834 GB, free: 0.5625 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002689/0.1935, allocations: 224.3 kB / 0.9836 GB, free: 320 kB / 0.6824 GB Notification: Performance of pre-optimization done (n=21): time 2.345e-06/0.1935, allocations: 0 / 0.9836 GB, free: 320 kB / 0.6824 GB Notification: Performance of matching and sorting (n=22): time 0.001106/0.1946, allocations: 0.7117 MB / 0.9843 GB, free: 15.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1946, allocations: 132.5 kB / 0.9845 GB, free: 15.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1948, allocations: 202.2 kB / 0.9846 GB, free: 15.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1948, allocations: 29.7 kB / 0.9847 GB, free: 15.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.1949, allocations: 132.4 kB / 0.9848 GB, free: 15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1949, allocations: 75.36 kB / 0.9849 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.195, allocations: 49.94 kB / 0.9849 GB, free: 14.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.1951, allocations: 338.8 kB / 0.9852 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1952, allocations: 140.9 kB / 0.9854 GB, free: 14.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.1954, allocations: 232.6 kB / 0.9856 GB, free: 14.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.196, allocations: 0.526 MB / 0.9861 GB, free: 13.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.196, allocations: 4 kB / 0.9861 GB, free: 13.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004214/0.1965, allocations: 413.4 kB / 0.9865 GB, free: 13.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.1965, allocations: 65.42 kB / 0.9866 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1965, allocations: 0 / 0.9866 GB, free: 13.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1965, allocations: 4 kB / 0.9866 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.1967, allocations: 59.84 kB / 0.9866 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1967, allocations: 4 kB / 0.9866 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.1968, allocations: 19.98 kB / 0.9867 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.1968, allocations: 8 kB / 0.9867 GB, free: 12.91 MB / 0.698 GB Warning: Assuming fixed start value for the following 6 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.periodicDose.pulse.count,$PRE.periodicDose.pulse.T_start,$PRE.central.rising,periodicDose.pulse.count,periodicDose.pulse.T_start,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 (33): * Single equations (assignments): 31 * 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.0002032/0.197, allocations: 201 kB / 0.9869 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.197, allocations: 15.91 kB / 0.9869 GB, free: 12.69 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.1971, allocations: 25.95 kB / 0.9869 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1971, allocations: 7.938 kB / 0.9869 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1971, allocations: 4 kB / 0.9869 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1971, allocations: 3.938 kB / 0.9869 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.1976, allocations: 0.5326 MB / 0.9874 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1976, allocations: 3.984 kB / 0.9874 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.1978, allocations: 35.92 kB / 0.9875 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1978, allocations: 4 kB / 0.9875 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1978, allocations: 7.984 kB / 0.9875 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1978, allocations: 4 kB / 0.9875 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1978, allocations: 4 kB / 0.9875 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.1983, allocations: 0.4919 MB / 0.988 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.1983, allocations: 11.91 kB / 0.988 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1983, allocations: 8.062 kB / 0.988 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.1984, allocations: 16.11 kB / 0.988 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.1985, allocations: 27.95 kB / 0.988 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1985, allocations: 4 kB / 0.988 GB, free: 11.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.85e-05/0.1986, allocations: 148.6 kB / 0.9882 GB, free: 11.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.1986, allocations: 7.938 kB / 0.9882 GB, free: 11.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002134/0.1988, allocations: 52 kB / 0.9882 GB, free: 11.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.variableDose.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 (19): * Single equations (assignments): 16 * 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.0001194/0.1989, allocations: 117.6 kB / 0.9883 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.1993, allocations: 391.6 kB / 0.9887 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1993, allocations: 0.5 kB / 0.9887 GB, free: 10.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1995, allocations: 175.4 kB / 0.9889 GB, free: 10.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1998, allocations: 59.83 kB / 0.9889 GB, free: 10.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.2008, allocations: 0.7443 MB / 0.9897 GB, free: 9.633 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.2009, allocations: 129.2 kB / 0.9898 GB, free: 9.484 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.2009, allocations: 19.44 kB / 0.9898 GB, free: 9.465 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.2009, allocations: 0 / 0.9898 GB, free: 9.465 MB / 0.698 GB Notification: Performance of Templates: time 0.3589/0.5598, allocations: 2.785 MB / 0.9925 GB, free: 26.59 MB / 0.698 GB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.428123979829252]