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.001345/0.001345, allocations: 91.55 kB / 20.19 MB, free: 4.352 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.001459/0.001459, allocations: 169 kB / 23.5 MB, free: 1.047 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.606/1.606, allocations: 273.5 MB / 0.5213 GB, free: 14.79 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.302e-06/1.302e-06, allocations: 3.938 kB / 0.6475 GB, free: 38.12 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.832e-05, allocations: 2.312 kB / 0.6475 GB, free: 38.11 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin): time 0.002437/0.002455, allocations: 2.822 MB / 0.6503 GB, free: 36.26 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006685/0.003124, allocations: 0.5969 MB / 0.6509 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.59e-05/0.0032, allocations: 2.062 kB / 0.6509 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.003307, allocations: 30.44 kB / 0.6509 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003442, allocations: 73.27 kB / 0.651 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.003623, allocations: 53.2 kB / 0.651 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.003835, allocations: 248 kB / 0.6512 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003943, allocations: 38.64 kB / 0.6513 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.004064, allocations: 132.2 kB / 0.6514 GB, free: 35.62 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.004225, allocations: 82.52 kB / 0.6515 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.00425, allocations: 16.38 kB / 0.6515 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.004272, allocations: 18.75 kB / 0.6515 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.004299, allocations: 32.94 kB / 0.6516 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.704e-05/0.004366, allocations: 72.59 kB / 0.6516 GB, free: 35.54 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.004527, allocations: 141.8 kB / 0.6518 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004529, allocations: 0 / 0.6518 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00453, allocations: 0 / 0.6518 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004534, allocations: 1.031 kB / 0.6518 GB, free: 35.47 MB / 0.5262 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.0005335/0.005068, allocations: 0.5692 MB / 0.6523 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.005103, allocations: 9.156 kB / 0.6523 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.005162, allocations: 34.17 kB / 0.6524 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.00531, allocations: 172.1 kB / 0.6525 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.005324, allocations: 10.12 kB / 0.6525 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.005352, allocations: 17.88 kB / 0.6525 GB, free: 34.76 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.005563, allocations: 189.9 kB / 0.6527 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.005574, allocations: 0 / 0.6527 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.005588, allocations: 6.125 kB / 0.6527 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.005596, allocations: 7.344 kB / 0.6527 GB, free: 34.62 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.005697, allocations: 91.88 kB / 0.6528 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.006172, allocations: 0.5542 MB / 0.6534 GB, free: 34.11 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.006316, allocations: 125.9 kB / 0.6535 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.006373, allocations: 62.03 kB / 0.6535 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.006386, allocations: 5.438 kB / 0.6536 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.006548, allocations: 197.1 kB / 0.6537 GB, free: 33.81 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=21): time 2.013e-06/0.00655, allocations: 0 / 0.6537 GB, free: 33.81 MB / 0.5262 GB Notification: Performance of matching and sorting (n=22): time 0.000673/0.007223, allocations: 0.6163 MB / 0.6543 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.007248, allocations: 138.1 kB / 0.6545 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.007362, allocations: 241.3 kB / 0.6547 GB, free: 33.02 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.007376, allocations: 33.52 kB / 0.6547 GB, free: 32.99 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.007422, allocations: 174.4 kB / 0.6549 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.007457, allocations: 79.77 kB / 0.655 GB, free: 32.77 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.007509, allocations: 55.17 kB / 0.655 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.007559, allocations: 0.5049 MB / 0.6555 GB, free: 32.22 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.007636, allocations: 107.3 kB / 0.6556 GB, free: 32.14 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.007732, allocations: 218.5 kB / 0.6558 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.007932, allocations: 344.6 kB / 0.6562 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.007933, allocations: 0 / 0.6562 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002591/0.008192, allocations: 341.4 kB / 0.6565 GB, free: 31.38 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.008218, allocations: 58.44 kB / 0.6565 GB, free: 31.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.008223, allocations: 2.281 kB / 0.6565 GB, free: 31.32 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.008237, allocations: 4.875 kB / 0.6566 GB, free: 31.32 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.00839, allocations: 62.77 kB / 0.6566 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.008401, allocations: 7.156 kB / 0.6566 GB, free: 31.31 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.502e-05/0.008486, allocations: 14.22 kB / 0.6566 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.0085, allocations: 12.59 kB / 0.6566 GB, free: 31.3 MB / 0.5262 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.0001304/0.00863, allocations: 231.6 kB / 0.6569 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.008657, allocations: 27.08 kB / 0.6569 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.008687, allocations: 24.72 kB / 0.6569 GB, free: 31.06 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.008691, allocations: 5.094 kB / 0.6569 GB, free: 31.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008692, allocations: 0 / 0.6569 GB, free: 31.06 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.008712, allocations: 17.12 kB / 0.6569 GB, free: 31.05 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.008737, allocations: 9.656 kB / 0.6569 GB, free: 31.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.99e-05/0.008797, allocations: 25.16 kB / 0.657 GB, free: 31.03 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.008855, allocations: 21.11 kB / 0.657 GB, free: 31.03 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003251/0.00918, allocations: 362.3 kB / 0.6573 GB, free: 30.78 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003153/0.009496, allocations: 0.5727 MB / 0.6579 GB, free: 30.33 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.581e-05/0.009572, allocations: 95.12 kB / 0.658 GB, free: 30.27 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 6.134e-05/0.009633, allocations: 182.9 kB / 0.6582 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of Backend: time 2.41e-07/0.009633, allocations: 0 / 0.6582 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.009998, allocations: 359 kB / 0.6585 GB, free: 29.84 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001548/0.01155, allocations: 1.338 MB / 0.6598 GB, free: 28.7 MB / 0.5262 GB Notification: Performance of Templates: time 0.005064/0.01661, allocations: 3.344 MB / 0.6631 GB, free: 28.46 MB / 0.5262 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.825956576038152]