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.0006626/0.0006626, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008762/0.001539, allocations: 435.8 kB / 10.31 MB, free: 384 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.0006808/0.0006808, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008803/0.001561, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.013/1.013, allocations: 177.1 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1024/1.115, allocations: 53.67 MB / 243.2 MB, free: 15.58 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.7811/0.7811, allocations: 291.2 MB / 0.5226 GB, free: 52.92 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02786/0.809, allocations: 21.04 MB / 0.5431 GB, free: 31.94 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.012e-06/1.012e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.187e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX01_Defibrotide.Defibrotide): time 0.001937/0.001949, allocations: 2.48 MB / 0.5469 GB, free: 28.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006691/0.002618, allocations: 0.6348 MB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.002705, allocations: 0 / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.691e-05/0.002782, allocations: 27.72 kB / 0.5475 GB, free: 27.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.002952, allocations: 87.27 kB / 0.5476 GB, free: 27.31 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.003072, allocations: 47.88 kB / 0.5477 GB, free: 27.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.003253, allocations: 266.6 kB / 0.5479 GB, free: 27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.003346, allocations: 38.47 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.003502, allocations: 180.2 kB / 0.5481 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.003633, allocations: 79.8 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.003656, allocations: 20 kB / 0.5482 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.003679, allocations: 16 kB / 0.5482 GB, free: 26.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.003704, allocations: 31.86 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.003757, allocations: 63.81 kB / 0.5483 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003894, allocations: 139.5 kB / 0.5485 GB, free: 26.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.003905, allocations: 3.984 kB / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003906, allocations: 0 / 0.5485 GB, free: 26.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.003914, allocations: 0 / 0.5485 GB, free: 26.44 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.0005385/0.004453, allocations: 0.4937 MB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.004484, allocations: 19.84 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.004528, allocations: 24.86 kB / 0.549 GB, free: 25.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.004672, allocations: 183 kB / 0.5492 GB, free: 25.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.00469, allocations: 11.67 kB / 0.5492 GB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.004711, allocations: 16.38 kB / 0.5492 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.004857, allocations: 155.5 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.004867, allocations: 4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.004877, allocations: 4 kB / 0.5494 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.004882, allocations: 8 kB / 0.5494 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.00495, allocations: 80.64 kB / 0.5494 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003404/0.00529, allocations: 361 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.005434, allocations: 112.1 kB / 0.5499 GB, free: 24.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.005465, allocations: 58.55 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.005473, allocations: 3.938 kB / 0.55 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.005594, allocations: 188.4 kB / 0.5501 GB, free: 24.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.664e-06/0.005596, allocations: 4 kB / 0.5501 GB, free: 24.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004675/0.006064, allocations: 0.5046 MB / 0.5506 GB, free: 24.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.006092, allocations: 136.5 kB / 0.5508 GB, free: 23.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.006179, allocations: 206.1 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.006191, allocations: 37.69 kB / 0.551 GB, free: 23.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.006222, allocations: 112.5 kB / 0.5511 GB, free: 23.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.006258, allocations: 79.39 kB / 0.5512 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.006304, allocations: 55.17 kB / 0.5512 GB, free: 23.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.006338, allocations: 334.8 kB / 0.5515 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.006387, allocations: 100.9 kB / 0.5516 GB, free: 22.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.948e-05/0.006446, allocations: 175.7 kB / 0.5518 GB, free: 22.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.886e-05/0.006545, allocations: 218.2 kB / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.006547, allocations: 0 / 0.552 GB, free: 22.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001356/0.006682, allocations: 260.2 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.006713, allocations: 67.39 kB / 0.5523 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006718, allocations: 2.656 kB / 0.5523 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/0.006727, allocations: 4 kB / 0.5523 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.006876, allocations: 68.11 kB / 0.5524 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.00688, allocations: 4 kB / 0.5524 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.006958, allocations: 19.92 kB / 0.5524 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.006968, allocations: 12 kB / 0.5524 GB, free: 21.95 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.5e-05/0.007063, allocations: 179.5 kB / 0.5526 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.007081, allocations: 15.98 kB / 0.5526 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.007114, allocations: 25.95 kB / 0.5526 GB, free: 21.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007115, allocations: 7.984 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007117, allocations: 4 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.00712, allocations: 0 / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.007346, allocations: 377 kB / 0.553 GB, free: 21.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.007348, allocations: 3.938 kB / 0.553 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.007456, allocations: 43.97 kB / 0.5531 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.007476, allocations: 19.84 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.007478, allocations: 0 / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.007487, allocations: 4 kB / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007488, allocations: 0 / 0.5531 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007489, allocations: 4 kB / 0.5531 GB, free: 21.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.007655, allocations: 353 kB / 0.5534 GB, free: 20.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.007678, allocations: 8 kB / 0.5534 GB, free: 20.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.007748, allocations: 7.984 kB / 0.5534 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.007794, allocations: 19.97 kB / 0.5535 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.007803, allocations: 15.92 kB / 0.5535 GB, free: 20.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.665e-05/0.00784, allocations: 61.89 kB / 0.5535 GB, free: 20.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00784, allocations: 0 / 0.5535 GB, free: 20.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.007994, allocations: 60 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.788e-05/0.008062, allocations: 100.4 kB / 0.5537 GB, free: 20.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.008225, allocations: 308.5 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.008229, allocations: 4 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.059e-05/0.008289, allocations: 140.5 kB / 0.5541 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.0002178/0.008507, allocations: 90.27 kB / 0.5542 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.01403, allocations: 0.5666 MB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.129e-05/0.01406, allocations: 84.31 kB / 0.5548 GB, free: 19.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.01412, allocations: 25.98 kB / 0.5549 GB, free: 19.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.01424, allocations: 115.3 kB / 0.555 GB, free: 19.15 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01424, allocations: 4 kB / 0.555 GB, free: 19.14 MB / 410.7 MB Notification: Performance of Templates: time 0.004373/0.01861, allocations: 3.783 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.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.481986578553915]