Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.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.001381/0.001381, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.003015, 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.000862/0.000862, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.002008, 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.002/1.002, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1271/1.129, allocations: 53.66 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.8093/0.8093, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03237/0.8416, allocations: 21.04 MB / 0.5431 GB, free: 31.95 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.J01GB07_Netilmicin.Netilmicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5445 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.316e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin): time 0.002672/0.002695, allocations: 2.496 MB / 0.5469 GB, free: 28.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.007331, allocations: 6.696 MB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.007438, allocations: 4 kB / 0.5535 GB, free: 21.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.119e-05/0.007519, allocations: 23.72 kB / 0.5535 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.007735, allocations: 91.27 kB / 0.5536 GB, free: 21.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.007886, allocations: 51.92 kB / 0.5537 GB, free: 21.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.008092, allocations: 270.5 kB / 0.5539 GB, free: 20.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.008201, allocations: 38.48 kB / 0.5539 GB, free: 20.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.008388, allocations: 180.2 kB / 0.5541 GB, free: 20.7 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.008562, allocations: 87.77 kB / 0.5542 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.008587, allocations: 16 kB / 0.5542 GB, free: 20.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.407e-05/0.008611, allocations: 16 kB / 0.5542 GB, free: 20.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.008638, allocations: 31.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.008695, allocations: 59.88 kB / 0.5543 GB, free: 20.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.008859, allocations: 139.5 kB / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.008872, allocations: 0 / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.008873, allocations: 0 / 0.5545 GB, free: 20.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.008887, allocations: 0 / 0.5545 GB, free: 20.35 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.0005273/0.009414, allocations: 0.4898 MB / 0.5549 GB, free: 19.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.009445, allocations: 27.77 kB / 0.555 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.009497, allocations: 24.92 kB / 0.555 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.009649, allocations: 187 kB / 0.5552 GB, free: 19.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.009665, allocations: 4.609 kB / 0.5552 GB, free: 19.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.009688, allocations: 16.38 kB / 0.5552 GB, free: 19.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.009843, allocations: 159.4 kB / 0.5553 GB, free: 19.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.009855, allocations: 4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.009868, allocations: 4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.009874, allocations: 4 kB / 0.5553 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.299e-05/0.009957, allocations: 80.64 kB / 0.5554 GB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.01034, allocations: 372.9 kB / 0.5558 GB, free: 18.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.01051, allocations: 108.1 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.01054, allocations: 58.55 kB / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.01055, allocations: 0 / 0.5559 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.01068, allocations: 203.2 kB / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.01068, allocations: 0 / 0.5561 GB, free: 18.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005396/0.01122, allocations: 0.5016 MB / 0.5566 GB, free: 17.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.01126, allocations: 132.5 kB / 0.5567 GB, free: 17.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.01136, allocations: 206.1 kB / 0.5569 GB, free: 17.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.01138, allocations: 29.7 kB / 0.557 GB, free: 17.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.01142, allocations: 124.4 kB / 0.5571 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.01146, allocations: 67.41 kB / 0.5572 GB, free: 17.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.01152, allocations: 55.17 kB / 0.5572 GB, free: 17.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.01156, allocations: 330.8 kB / 0.5575 GB, free: 16.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.187e-05/0.01162, allocations: 100.9 kB / 0.5576 GB, free: 16.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.01169, allocations: 181.3 kB / 0.5578 GB, free: 16.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.01181, allocations: 212.9 kB / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01181, allocations: 0 / 0.558 GB, free: 16.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001684/0.01198, allocations: 264.3 kB / 0.5582 GB, free: 16.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.234e-05/0.01202, allocations: 70.05 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.01203, allocations: 0 / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01204, allocations: 4 kB / 0.5583 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.01224, allocations: 59.91 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01225, allocations: 10.64 kB / 0.5584 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.01233, allocations: 15.94 kB / 0.5584 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.01235, allocations: 16.22 kB / 0.5584 GB, free: 15.86 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.0001626/0.01251, allocations: 169.6 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.01254, allocations: 23.91 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.01258, allocations: 25.97 kB / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.01259, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01259, allocations: 0 / 0.5586 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.0126, allocations: 3.984 kB / 0.5586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.01294, allocations: 377.1 kB / 0.559 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01294, allocations: 7.938 kB / 0.559 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.01308, allocations: 47.91 kB / 0.559 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.0131, allocations: 15.86 kB / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01311, allocations: 0 / 0.5591 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01312, allocations: 7.984 kB / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01312, allocations: 0 / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01312, allocations: 0 / 0.5591 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.01331, allocations: 352.2 kB / 0.5594 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.01335, allocations: 8 kB / 0.5594 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2654/0.2788, allocations: 12.03 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.2789, allocations: 19.27 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.2789, allocations: 8.938 kB / 0.5594 GB, free: 79.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001085/0.279, allocations: 61.5 kB / 0.5595 GB, free: 79.54 MB / 410.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.279, allocations: 0 / 0.5595 GB, free: 79.54 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000254/0.2793, allocations: 54.75 kB / 0.5596 GB, free: 79.54 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.0001231/0.2794, allocations: 96.3 kB / 0.5596 GB, free: 79.47 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.2796, allocations: 307.8 kB / 0.5599 GB, free: 79.24 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/0.2797, allocations: 2.125 kB / 0.5599 GB, free: 79.24 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.2798, allocations: 145.4 kB / 0.5601 GB, free: 79.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2801, allocations: 90.48 kB / 0.5602 GB, free: 79.14 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.2857, allocations: 0.5673 MB / 0.5607 GB, free: 78.88 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.2858, allocations: 81.41 kB / 0.5608 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.028e-05/0.2859, allocations: 25.72 kB / 0.5608 GB, free: 78.8 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.286, allocations: 119.4 kB / 0.5609 GB, free: 78.76 MB / 410.8 MB Notification: Performance of SimCode: time 7.71e-07/0.286, allocations: 0.8125 kB / 0.5609 GB, free: 78.76 MB / 410.8 MB Notification: Performance of Templates: time 0.007042/0.2931, allocations: 3.799 MB / 0.5646 GB, free: 78.58 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9050933523103595]