Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.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.001125/0.001125, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00156/0.002685, allocations: 440 kB / 10.41 MB, free: 284 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.001086/0.001086, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002542, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.026/1.026, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1148/1.141, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7387/0.7387, allocations: 291.1 MB / 0.5227 GB, free: 52.48 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03473/0.7734, allocations: 21.05 MB / 0.5433 GB, free: 31.49 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.B01AX01_Defibrotide.Defibrotide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.5447 GB, free: 30.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.514e-06/8.816e-06, allocations: 6.25 kB / 0.5447 GB, free: 30.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide): time 0.001951/0.00196, allocations: 2.495 MB / 0.5471 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006424/0.002603, allocations: 0.6271 MB / 0.5477 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.275e-05/0.002675, allocations: 4 kB / 0.5477 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.791e-05/0.002733, allocations: 23.72 kB / 0.5478 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.002843, allocations: 91.25 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.002951, allocations: 51.88 kB / 0.5479 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.003121, allocations: 262.6 kB / 0.5482 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.003215, allocations: 42.48 kB / 0.5482 GB, free: 26.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.003365, allocations: 180.2 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.003508, allocations: 87.66 kB / 0.5485 GB, free: 26.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.003532, allocations: 20 kB / 0.5485 GB, free: 26.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.312e-05/0.003555, allocations: 16 kB / 0.5485 GB, free: 26.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.003583, allocations: 27.88 kB / 0.5485 GB, free: 26.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.003638, allocations: 59.88 kB / 0.5486 GB, free: 26.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.003778, allocations: 135.5 kB / 0.5487 GB, free: 25.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.003788, allocations: 4 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003789, allocations: 3.984 kB / 0.5487 GB, free: 25.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.003797, allocations: 4 kB / 0.5487 GB, free: 25.93 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.0004858/0.004283, allocations: 0.4898 MB / 0.5492 GB, free: 25.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.004314, allocations: 15.84 kB / 0.5492 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.004353, allocations: 24.92 kB / 0.5492 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.004484, allocations: 183 kB / 0.5494 GB, free: 25.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.004498, allocations: 8.609 kB / 0.5494 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.004521, allocations: 16.38 kB / 0.5494 GB, free: 25.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.004665, allocations: 159.5 kB / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.004676, allocations: 7.922 kB / 0.5496 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.004688, allocations: 11.98 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.004693, allocations: 4 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.004766, allocations: 78.34 kB / 0.5497 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.005104, allocations: 357 kB / 0.55 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.005247, allocations: 116 kB / 0.5501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.00528, allocations: 66.53 kB / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.005288, allocations: 0 / 0.5502 GB, free: 24.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.005397, allocations: 187.5 kB / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 9.91e-07/0.005398, allocations: 3.938 kB / 0.5504 GB, free: 24.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004989/0.005897, allocations: 0.5041 MB / 0.5509 GB, free: 23.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.00593, allocations: 170.2 kB / 0.551 GB, free: 23.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.006011, allocations: 210.1 kB / 0.5512 GB, free: 23.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.006023, allocations: 33.7 kB / 0.5513 GB, free: 23.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.154e-05/0.006055, allocations: 124.4 kB / 0.5514 GB, free: 22.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.006083, allocations: 67.42 kB / 0.5514 GB, free: 22.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.006127, allocations: 55.17 kB / 0.5515 GB, free: 22.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.006169, allocations: 334.8 kB / 0.5518 GB, free: 22.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.006216, allocations: 96.94 kB / 0.5519 GB, free: 22.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.006286, allocations: 177.3 kB / 0.5521 GB, free: 22.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.006382, allocations: 219.7 kB / 0.5523 GB, free: 21.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006383, allocations: 0 / 0.5523 GB, free: 21.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001428/0.006526, allocations: 264.3 kB / 0.5525 GB, free: 21.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.006557, allocations: 66.05 kB / 0.5526 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006562, allocations: 2.953 kB / 0.5526 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.006571, allocations: 8 kB / 0.5526 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.006712, allocations: 67.91 kB / 0.5527 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.006716, allocations: 3.984 kB / 0.5527 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.006793, allocations: 19.94 kB / 0.5527 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.006802, allocations: 4 kB / 0.5527 GB, free: 21.4 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 9.286e-05/0.006895, allocations: 169.6 kB / 0.5529 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.006917, allocations: 31.97 kB / 0.5529 GB, free: 21.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.006951, allocations: 21.97 kB / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.006952, allocations: 0 / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006954, allocations: 4 kB / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.006959, allocations: 3.984 kB / 0.5529 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.007185, allocations: 373.4 kB / 0.5533 GB, free: 20.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.007187, allocations: 7.938 kB / 0.5533 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.007294, allocations: 39.16 kB / 0.5533 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.007312, allocations: 15.86 kB / 0.5533 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.007314, allocations: 8 kB / 0.5533 GB, free: 20.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.007324, allocations: 7.984 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.007327, allocations: 4 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.007327, allocations: 0 / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.0075, allocations: 353 kB / 0.5537 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.007522, allocations: 4 kB / 0.5537 GB, free: 20.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.007594, allocations: 15.98 kB / 0.5537 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.007635, allocations: 20 kB / 0.5537 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.007641, allocations: 7.938 kB / 0.5537 GB, free: 20.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.967e-05/0.007681, allocations: 65.95 kB / 0.5538 GB, free: 20.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007681, allocations: 4 kB / 0.5538 GB, free: 20.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.007835, allocations: 52 kB / 0.5539 GB, free: 20.13 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 5.679e-05/0.007891, allocations: 96.34 kB / 0.5539 GB, free: 20.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.008038, allocations: 304.6 kB / 0.5542 GB, free: 19.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.008044, allocations: 4 kB / 0.5542 GB, free: 19.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.042e-05/0.008114, allocations: 165.2 kB / 0.5544 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.008385, allocations: 0.5009 MB / 0.5549 GB, free: 18.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/0.01355, allocations: 0.5628 MB / 0.5554 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.37e-05/0.01359, allocations: 76.33 kB / 0.5555 GB, free: 18.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.01366, allocations: 25.94 kB / 0.5555 GB, free: 18.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.01378, allocations: 111.3 kB / 0.5556 GB, free: 18.09 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01378, allocations: 0 / 0.5556 GB, free: 18.09 MB / 410.7 MB Notification: Performance of Templates: time 0.2691/0.2829, allocations: 3.78 MB / 0.5593 GB, free: 84.71 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7508178940042853]