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.001052/0.001052, allocations: 84.44 kB / 19.93 MB, free: 4.605 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.0009855/0.0009855, allocations: 174.3 kB / 23.21 MB, free: 1.32 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.003/1.003, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.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.619/1.619, allocations: 273.5 MB / 0.5209 GB, free: 14.97 MB / 458.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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7563 GB, free: 10.15 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.914e-05, allocations: 4.531 kB / 0.7563 GB, free: 10.14 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin): time 0.003266/0.003295, allocations: 2.662 MB / 0.7589 GB, free: 7.492 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.004196, allocations: 0.5899 MB / 0.7595 GB, free: 6.906 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.234e-05/0.004288, allocations: 4 kB / 0.7595 GB, free: 6.902 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.004421, allocations: 23.78 kB / 0.7595 GB, free: 6.879 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.004593, allocations: 79.83 kB / 0.7596 GB, free: 6.824 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.004826, allocations: 49.19 kB / 0.7596 GB, free: 6.777 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.000261/0.005087, allocations: 246.6 kB / 0.7599 GB, free: 6.551 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.005241, allocations: 33.94 kB / 0.7599 GB, free: 6.516 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.00539, allocations: 127.7 kB / 0.76 GB, free: 6.391 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.005582, allocations: 75.73 kB / 0.7601 GB, free: 6.316 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.005612, allocations: 16 kB / 0.7601 GB, free: 6.301 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.005637, allocations: 20 kB / 0.7601 GB, free: 6.281 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.005676, allocations: 39.83 kB / 0.7602 GB, free: 6.242 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 7.822e-05/0.005754, allocations: 67.84 kB / 0.7602 GB, free: 6.176 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.005979, allocations: 191.4 kB / 0.7604 GB, free: 5.988 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005981, allocations: 0 / 0.7604 GB, free: 5.988 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005982, allocations: 0 / 0.7604 GB, free: 5.988 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.005989, allocations: 0 / 0.7604 GB, free: 5.988 MB / 0.5887 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.0007413/0.006731, allocations: 480.7 kB / 0.7609 GB, free: 5.477 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.006777, allocations: 16.02 kB / 0.7609 GB, free: 5.461 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.006836, allocations: 24.8 kB / 0.7609 GB, free: 5.438 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.007037, allocations: 174.2 kB / 0.7611 GB, free: 5.238 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.007055, allocations: 15.66 kB / 0.7611 GB, free: 5.227 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.007091, allocations: 12.38 kB / 0.7611 GB, free: 5.215 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.007393, allocations: 203.8 kB / 0.7613 GB, free: 4.996 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.007408, allocations: 0 / 0.7613 GB, free: 4.996 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.007424, allocations: 8 kB / 0.7613 GB, free: 4.988 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.007429, allocations: 0 / 0.7613 GB, free: 4.988 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.007649, allocations: 150.1 kB / 0.7614 GB, free: 4.836 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006287/0.008277, allocations: 480.9 kB / 0.7619 GB, free: 4.332 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.008536, allocations: 176.1 kB / 0.7621 GB, free: 4.145 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.008648, allocations: 94.52 kB / 0.7622 GB, free: 4.043 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.008659, allocations: 8 kB / 0.7622 GB, free: 4.035 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.008916, allocations: 216.4 kB / 0.7624 GB, free: 3.793 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.008917, allocations: 0 / 0.7624 GB, free: 3.793 MB / 0.5887 GB Notification: Performance of matching and sorting (n=22): time 0.001065/0.009982, allocations: 0.7131 MB / 0.7631 GB, free: 3.02 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.01005, allocations: 140.5 kB / 0.7632 GB, free: 2.852 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.01021, allocations: 199.8 kB / 0.7634 GB, free: 2.648 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.01023, allocations: 29.7 kB / 0.7634 GB, free: 2.613 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.01031, allocations: 136.4 kB / 0.7636 GB, free: 2.477 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 4.543e-05/0.01035, allocations: 75.39 kB / 0.7636 GB, free: 2.402 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.01042, allocations: 53.92 kB / 0.7637 GB, free: 2.344 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 9.14e-05/0.01051, allocations: 334.7 kB / 0.764 GB, free: 2.008 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.01066, allocations: 140.9 kB / 0.7641 GB, free: 1.855 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.01104, allocations: 227.1 kB / 0.7644 GB, free: 1.586 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.01162, allocations: 0.5341 MB / 0.7649 GB, free: 0.9844 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01162, allocations: 0 / 0.7649 GB, free: 0.9844 MB / 0.5887 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003919/0.01201, allocations: 400 kB / 0.7653 GB, free: 0.5625 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.01206, allocations: 63.66 kB / 0.7653 GB, free: 500 kB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.01207, allocations: 3.984 kB / 0.7653 GB, free: 496 kB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.01208, allocations: 4 kB / 0.7653 GB, free: 492 kB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.01223, allocations: 55.91 kB / 0.7654 GB, free: 436 kB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01224, allocations: 11.88 kB / 0.7654 GB, free: 424 kB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/0.01233, allocations: 19.92 kB / 0.7654 GB, free: 404 kB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01235, allocations: 19.98 kB / 0.7654 GB, free: 384 kB / 0.5887 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.000181/0.01253, allocations: 188.5 kB / 0.7656 GB, free: 184 kB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.01255, allocations: 19.86 kB / 0.7656 GB, free: 164 kB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.01259, allocations: 25.95 kB / 0.7657 GB, free: 144 kB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01259, allocations: 4 kB / 0.7657 GB, free: 140 kB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.0126, allocations: 0 / 0.7657 GB, free: 140 kB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.01261, allocations: 7.938 kB / 0.7657 GB, free: 132 kB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.01315, allocations: 0.5356 MB / 0.7662 GB, free: 15.55 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01315, allocations: 3.938 kB / 0.7662 GB, free: 15.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.01327, allocations: 31.92 kB / 0.7662 GB, free: 15.51 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.01328, allocations: 7.984 kB / 0.7662 GB, free: 15.5 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01329, allocations: 4 kB / 0.7662 GB, free: 15.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.0133, allocations: 4 kB / 0.7662 GB, free: 15.5 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.0133, allocations: 0 / 0.7662 GB, free: 15.5 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.01377, allocations: 0.4929 MB / 0.7667 GB, free: 14.97 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.0138, allocations: 19.78 kB / 0.7667 GB, free: 14.95 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.01382, allocations: 8.062 kB / 0.7667 GB, free: 14.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.0139, allocations: 15.98 kB / 0.7668 GB, free: 14.93 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.01398, allocations: 23.95 kB / 0.7668 GB, free: 14.9 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01399, allocations: 4 kB / 0.7668 GB, free: 14.9 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.709e-05/0.01407, allocations: 145.9 kB / 0.7669 GB, free: 14.76 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01407, allocations: 0 / 0.7669 GB, free: 14.76 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001957/0.01427, allocations: 60 kB / 0.767 GB, free: 14.7 MB / 0.6043 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.0001003/0.01437, allocations: 111.8 kB / 0.7671 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.01476, allocations: 387.6 kB / 0.7675 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.01476, allocations: 0 / 0.7675 GB, free: 14.16 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.01491, allocations: 179.8 kB / 0.7676 GB, free: 13.97 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.01522, allocations: 63.14 kB / 0.7677 GB, free: 13.91 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008625/0.01608, allocations: 0.6245 MB / 0.7683 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.687e-05/0.01617, allocations: 129.6 kB / 0.7684 GB, free: 13.11 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.01622, allocations: 20.5 kB / 0.7684 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of SimCode: time 1.102e-06/0.01623, allocations: 0 / 0.7684 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of Templates: time 0.003851/0.02008, allocations: 2.813 MB / 0.7712 GB, free: 10.34 MB / 0.6043 GB " [Timeout remaining time 660] 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: 6.793149919016287]