Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.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.0009181/0.0009181, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002288, 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.0009551/0.0009551, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001284/0.002239, 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 0.9962/0.9962, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08727/1.083, allocations: 53.66 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.8525/0.8525, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03488/0.8874, 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.J01GB06_Amikacin.Amikacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.642e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin): time 0.003037/0.003053, allocations: 2.492 MB / 0.547 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006254/0.009307, allocations: 6.692 MB / 0.5535 GB, free: 21.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.009478, allocations: 3.938 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.086e-05/0.009569, allocations: 27.72 kB / 0.5535 GB, free: 21.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.009784, allocations: 79.39 kB / 0.5536 GB, free: 21.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.009962, allocations: 59.8 kB / 0.5537 GB, free: 21.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.01023, allocations: 266.6 kB / 0.5539 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.01034, allocations: 46.47 kB / 0.554 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.01058, allocations: 180.1 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.01076, allocations: 83.78 kB / 0.5542 GB, free: 20.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.01079, allocations: 16 kB / 0.5542 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.999e-05/0.01082, allocations: 16 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.01085, allocations: 31.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.417e-05/0.01093, allocations: 63.88 kB / 0.5543 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.01112, allocations: 131.5 kB / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.01114, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01114, allocations: 0 / 0.5545 GB, free: 20.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.01115, 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.0005949/0.01175, allocations: 0.5015 MB / 0.555 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.01178, allocations: 15.84 kB / 0.555 GB, free: 19.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.01183, allocations: 36.8 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.01201, allocations: 175.1 kB / 0.5552 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.01203, allocations: 12.61 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.01205, allocations: 12.38 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.01224, allocations: 163.4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01225, allocations: 0 / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.01226, allocations: 4 kB / 0.5554 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01227, allocations: 4 kB / 0.5554 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.01237, allocations: 76.7 kB / 0.5554 GB, free: 19.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.01301, allocations: 369 kB / 0.5558 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.01325, allocations: 112 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.01329, allocations: 54.55 kB / 0.5559 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.0133, allocations: 4 kB / 0.5559 GB, free: 18.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.01349, allocations: 192.4 kB / 0.5561 GB, free: 18.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 5.52e-06/0.01349, allocations: 3.984 kB / 0.5561 GB, free: 18.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000709/0.0142, allocations: 0.5045 MB / 0.5566 GB, free: 17.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.01425, allocations: 140.5 kB / 0.5568 GB, free: 17.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.01438, allocations: 206.1 kB / 0.557 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.0144, allocations: 33.7 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.01446, allocations: 116.4 kB / 0.5571 GB, free: 17.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.0145, allocations: 71.41 kB / 0.5572 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.01457, allocations: 55.17 kB / 0.5572 GB, free: 17.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.01464, allocations: 334.8 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.01471, allocations: 101 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.01478, allocations: 177.3 kB / 0.5578 GB, free: 16.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.0149, allocations: 210.2 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0149, allocations: 3.125 kB / 0.558 GB, free: 16.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001638/0.01506, allocations: 267.1 kB / 0.5583 GB, free: 16.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.0151, allocations: 63.39 kB / 0.5583 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.01511, allocations: 6.656 kB / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.01512, allocations: 0 / 0.5583 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.01532, allocations: 67.91 kB / 0.5584 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.01533, allocations: 3.984 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.01541, allocations: 20.16 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.01542, allocations: 8 kB / 0.5584 GB, free: 15.88 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.000138/0.01556, allocations: 173.6 kB / 0.5586 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.01558, allocations: 27.97 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.01562, allocations: 21.97 kB / 0.5586 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01563, allocations: 4 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01563, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.01563, allocations: 3.984 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.01592, allocations: 370.2 kB / 0.559 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01592, allocations: 11.94 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.01605, allocations: 35.97 kB / 0.559 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.01607, allocations: 23.8 kB / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01608, allocations: 0 / 0.5591 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01609, allocations: 7.984 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01609, allocations: 4 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.0161, allocations: 3.375 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.0163, allocations: 341 kB / 0.5594 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.01632, allocations: 8 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.0164, allocations: 19.98 kB / 0.5594 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.01645, allocations: 15.97 kB / 0.5594 GB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2948/0.3113, allocations: 7.203 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.573e-05/0.3114, allocations: 62.39 kB / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3114, allocations: 0 / 0.5595 GB, free: 79.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002468/0.3116, allocations: 54.78 kB / 0.5596 GB, free: 79.55 MB / 410.8 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 0.0001094/0.3117, allocations: 98.73 kB / 0.5597 GB, free: 79.48 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.312, allocations: 308.2 kB / 0.56 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.312, allocations: 2.75 kB / 0.56 GB, free: 79.25 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.3121, allocations: 143.3 kB / 0.5601 GB, free: 79.15 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.3123, allocations: 89.45 kB / 0.5602 GB, free: 79.15 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.3176, allocations: 0.5718 MB / 0.5607 GB, free: 78.88 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.3177, allocations: 81.59 kB / 0.5608 GB, free: 78.81 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.405e-05/0.3177, allocations: 24.28 kB / 0.5608 GB, free: 78.81 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.3179, allocations: 117.9 kB / 0.5609 GB, free: 78.77 MB / 410.8 MB Notification: Performance of SimCode: time 6.52e-07/0.3179, allocations: 0 / 0.5609 GB, free: 78.77 MB / 410.8 MB Notification: Performance of Templates: time 0.005871/0.3238, allocations: 3.804 MB / 0.5647 GB, free: 78.6 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.815139850601554]