Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.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.0007619/0.0007619, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009398/0.001702, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007255/0.0007255, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009326/0.001658, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 0.9717/0.9717, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/1.082, allocations: 53.67 MB / 243.3 MB, free: 15.59 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.7596/0.7596, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0704/0.83, allocations: 21.04 MB / 0.5432 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.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.81e-07/7.81e-07, allocations: 0 / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.848e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin): time 0.002011/0.00203, allocations: 2.502 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004238/0.006268, allocations: 6.684 MB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.00638, allocations: 4 kB / 0.5535 GB, free: 21.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.87e-05/0.006449, allocations: 31.64 kB / 0.5536 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.006579, allocations: 83.33 kB / 0.5536 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.006708, allocations: 55.88 kB / 0.5537 GB, free: 21.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.006878, allocations: 270.5 kB / 0.554 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.793e-05/0.006976, allocations: 42.47 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.007131, allocations: 176.3 kB / 0.5542 GB, free: 20.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.007274, allocations: 87.72 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.007299, allocations: 20 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.999e-05/0.007319, allocations: 16 kB / 0.5543 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.007342, allocations: 31.88 kB / 0.5543 GB, free: 20.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.007396, allocations: 59.88 kB / 0.5544 GB, free: 20.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.007541, allocations: 131.5 kB / 0.5545 GB, free: 20.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.007551, allocations: 8 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007553, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.007563, allocations: 0 / 0.5545 GB, free: 20.36 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.0004919/0.008055, allocations: 0.4937 MB / 0.555 GB, free: 19.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.008085, allocations: 15.84 kB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.008126, allocations: 32.91 kB / 0.555 GB, free: 19.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.008276, allocations: 179 kB / 0.5552 GB, free: 19.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.008294, allocations: 16.55 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.008317, allocations: 12.38 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.008467, allocations: 155.5 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.008477, allocations: 0 / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.008487, allocations: 8 kB / 0.5554 GB, free: 19.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.008492, allocations: 4 kB / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.168e-05/0.008564, allocations: 76.64 kB / 0.5555 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.008914, allocations: 376.1 kB / 0.5558 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.009069, allocations: 104.1 kB / 0.5559 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.009104, allocations: 58.55 kB / 0.556 GB, free: 18.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.009112, allocations: 4 kB / 0.556 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.009244, allocations: 192.3 kB / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.009245, allocations: 0 / 0.5562 GB, free: 18.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004968/0.009742, allocations: 0.5172 MB / 0.5567 GB, free: 17.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.009769, allocations: 166.2 kB / 0.5568 GB, free: 17.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.967e-05/0.009849, allocations: 198.1 kB / 0.557 GB, free: 17.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.009861, allocations: 33.7 kB / 0.557 GB, free: 17.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.033e-05/0.009891, allocations: 116.4 kB / 0.5572 GB, free: 17.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.009928, allocations: 75.41 kB / 0.5572 GB, free: 17.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.009974, allocations: 51.17 kB / 0.5573 GB, free: 17.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.378e-05/0.01001, allocations: 338.8 kB / 0.5576 GB, free: 16.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.01006, allocations: 101 kB / 0.5577 GB, free: 16.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.01012, allocations: 173.3 kB / 0.5579 GB, free: 16.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.444e-05/0.01021, allocations: 215 kB / 0.5581 GB, free: 16.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01022, allocations: 3.938 kB / 0.5581 GB, free: 16.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001593/0.01038, allocations: 260.3 kB / 0.5583 GB, free: 16.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.01041, allocations: 67.39 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.01041, allocations: 4 kB / 0.5584 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.01042, allocations: 4 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01058, allocations: 63.89 kB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.01058, allocations: 4 kB / 0.5585 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.278e-05/0.01065, allocations: 12.22 kB / 0.5585 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.01067, allocations: 23.92 kB / 0.5585 GB, free: 15.83 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.0001016/0.01077, allocations: 172.3 kB / 0.5587 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.01079, allocations: 23.91 kB / 0.5587 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.697e-05/0.01082, allocations: 21.97 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01082, allocations: 3.984 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01082, allocations: 2.75 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.01084, allocations: 19.86 kB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01085, allocations: 7.938 kB / 0.5587 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01087, allocations: 12 kB / 0.5587 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.01092, allocations: 11.98 kB / 0.5588 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.01097, allocations: 19.97 kB / 0.5588 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002249/0.0112, allocations: 267 kB / 0.559 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001785/0.01137, allocations: 423.7 kB / 0.5594 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2752/0.2866, allocations: 76.84 kB / 0.5595 GB, free: 79.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2867, allocations: 61.3 kB / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of Backend: time 4.51e-07/0.2867, allocations: 1.406 kB / 0.5596 GB, free: 79.55 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005363/0.2873, allocations: 334.4 kB / 0.5599 GB, free: 79.31 MB / 410.8 MB Notification: Performance of SimCode: time 0.005767/0.293, allocations: 1.116 MB / 0.561 GB, free: 78.5 MB / 410.8 MB Notification: Performance of Templates: time 0.007665/0.3007, allocations: 3.857 MB / 0.5647 GB, free: 78.36 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9229588713496923]