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.0007504/0.0007504, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008473/0.001598, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001079/0.001079, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002397, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.011/1.011, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08117/1.092, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7656/0.7656, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03218/0.7978, allocations: 21.03 MB / 0.5431 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 179] 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,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=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.079e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin): time 0.002079/0.00209, allocations: 2.492 MB / 0.547 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.002807, allocations: 0.631 MB / 0.5476 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.002892, allocations: 4 kB / 0.5476 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.382e-05/0.002956, allocations: 23.72 kB / 0.5476 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.003078, allocations: 83.27 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.00321, allocations: 55.86 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.003405, allocations: 266.6 kB / 0.548 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.003896, allocations: 42.47 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.004087, allocations: 172.2 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.004238, allocations: 87.78 kB / 0.5483 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.004262, allocations: 16 kB / 0.5483 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.289e-05/0.004285, allocations: 23.94 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.004312, allocations: 23.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.004369, allocations: 63.88 kB / 0.5484 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.004533, allocations: 139.5 kB / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.004548, allocations: 0 / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004548, allocations: 0 / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.004562, allocations: 0 / 0.5485 GB, free: 26.45 MB / 410.7 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.0005316/0.005094, allocations: 0.5015 MB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.005126, allocations: 15.84 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.005171, allocations: 32.84 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005317, allocations: 175 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.005335, allocations: 12.61 kB / 0.5492 GB, free: 25.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.005358, allocations: 16.36 kB / 0.5493 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.005514, allocations: 159.5 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.005525, allocations: 0 / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005537, allocations: 12 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005541, allocations: 3.938 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.005616, allocations: 72.7 kB / 0.5495 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.005968, allocations: 369 kB / 0.5498 GB, free: 24.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.00613, allocations: 104.1 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.006169, allocations: 62.48 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.00618, allocations: 4 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.006308, allocations: 198.5 kB / 0.5502 GB, free: 24.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.00631, allocations: 0 / 0.5502 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005277/0.006837, allocations: 0.5055 MB / 0.5507 GB, free: 24.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.006868, allocations: 136.5 kB / 0.5508 GB, free: 23.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.006953, allocations: 202.1 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.006966, allocations: 33.7 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.006999, allocations: 116.4 kB / 0.5512 GB, free: 23.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.00703, allocations: 79.41 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.00708, allocations: 51.19 kB / 0.5513 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.007119, allocations: 338.8 kB / 0.5516 GB, free: 23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.007168, allocations: 100.9 kB / 0.5517 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.007229, allocations: 173.3 kB / 0.5519 GB, free: 22.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.655e-05/0.007325, allocations: 215.7 kB / 0.5521 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.007327, allocations: 4 kB / 0.5521 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00015/0.007477, allocations: 258.7 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.007508, allocations: 63.39 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.007515, allocations: 4 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.007524, allocations: 0 / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.007689, allocations: 74.09 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.007696, allocations: 6.656 kB / 0.5525 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.007778, allocations: 19.92 kB / 0.5525 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.007787, allocations: 4 kB / 0.5525 GB, free: 21.96 MB / 410.7 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.0001031/0.007891, allocations: 175.6 kB / 0.5527 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.00791, allocations: 19.98 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.007944, allocations: 25.95 kB / 0.5527 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007947, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.007949, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.007953, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.008221, allocations: 381 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.008225, allocations: 3.938 kB / 0.5531 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.008376, allocations: 35.97 kB / 0.5531 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.0084, allocations: 23.86 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008403, allocations: 0 / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.008415, allocations: 10.98 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.008417, allocations: 0 / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008418, allocations: 4 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.008596, allocations: 349 kB / 0.5535 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.008621, allocations: 8 kB / 0.5535 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.008692, allocations: 8 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.008734, allocations: 19.95 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.008743, allocations: 11.94 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.09e-05/0.008784, allocations: 69.88 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008784, allocations: 0 / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001596/0.008943, allocations: 56 kB / 0.5536 GB, free: 20.68 MB / 410.7 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 6.079e-05/0.009004, allocations: 99.11 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.009163, allocations: 308.5 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.009169, allocations: 0 / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.009231, allocations: 151.5 kB / 0.5542 GB, free: 20.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.009468, allocations: 90.16 kB / 0.5543 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.01479, allocations: 0.5705 MB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.01482, allocations: 76.33 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.254e-05/0.0149, allocations: 29.97 kB / 0.5549 GB, free: 19.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.01502, allocations: 111.3 kB / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01502, allocations: 0 / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of Templates: time 0.004613/0.01963, allocations: 3.79 MB / 0.5587 GB, free: 15.47 MB / 410.7 MB " [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: 3.496972127817571]