Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.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.0008009/0.0008009, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001108/0.001909, allocations: 455.9 kB / 10.35 MB, free: 348 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.0007322/0.0007322, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009223/0.001655, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.9501/0.9501, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09375/1.044, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.7392/0.7392, allocations: 291.2 MB / 0.5227 GB, free: 52.72 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02768/0.7669, allocations: 21.05 MB / 0.5433 GB, free: 31.73 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.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.5446 GB, free: 30.4 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.422e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.39 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs): time 0.001971/0.001995, allocations: 0.6652 MB / 0.5452 GB, free: 29.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 4.069e-05/0.002036, allocations: 11.91 kB / 0.5452 GB, free: 29.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.024e-05/0.002056, allocations: 3.938 kB / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-06/0.002063, allocations: 0 / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.606e-05/0.002079, allocations: 3.938 kB / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.013e-05/0.002109, allocations: 4 kB / 0.5452 GB, free: 29.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.002168, allocations: 11.98 kB / 0.5453 GB, free: 29.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.002216, allocations: 7.938 kB / 0.5453 GB, free: 29.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.002277, allocations: 7.984 kB / 0.5453 GB, free: 29.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.002334, allocations: 12 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.002351, allocations: 0 / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-06/0.002358, allocations: 0 / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.002373, allocations: 7.938 kB / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.002395, allocations: 0 / 0.5453 GB, free: 29.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 6.2e-05/0.002457, allocations: 11.97 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.002472, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.002473, allocations: 0 / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.002487, allocations: 0 / 0.5453 GB, free: 29.65 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003221/0.002809, allocations: 231 kB / 0.5455 GB, free: 29.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.002848, allocations: 11.89 kB / 0.5455 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.00287, allocations: 8.938 kB / 0.5455 GB, free: 29.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.00294, allocations: 113.7 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.002951, allocations: 4.312 kB / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.002958, allocations: 384 / 0.5457 GB, free: 29.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.7e-05/0.003025, allocations: 38.2 kB / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.003035, allocations: 192 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.003041, allocations: 384 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003047, allocations: 384 / 0.5457 GB, free: 29.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.472e-05/0.003071, allocations: 11.92 kB / 0.5457 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.888e-05/0.00316, allocations: 61.03 kB / 0.5458 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.003431, allocations: 54.59 kB / 0.5458 GB, free: 29.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.003449, allocations: 8.859 kB / 0.5458 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.003457, allocations: 4 kB / 0.5458 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.003473, allocations: 34.5 kB / 0.5459 GB, free: 28.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.003474, allocations: 0 / 0.5459 GB, free: 28.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.098e-05/0.003565, allocations: 37.78 kB / 0.5459 GB, free: 28.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.003587, allocations: 55.41 kB / 0.5459 GB, free: 28.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.435e-05/0.003632, allocations: 106.1 kB / 0.546 GB, free: 28.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.003636, allocations: 25.7 kB / 0.5461 GB, free: 28.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.075e-05/0.003647, allocations: 88.12 kB / 0.5462 GB, free: 28.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.003672, allocations: 11.95 kB / 0.5462 GB, free: 28.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.003701, allocations: 13.72 kB / 0.5462 GB, free: 28.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.284e-05/0.003734, allocations: 322.8 kB / 0.5465 GB, free: 28.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.003745, allocations: 4 kB / 0.5465 GB, free: 28.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.003754, allocations: 3.938 kB / 0.5465 GB, free: 28.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.003782, allocations: 13.14 kB / 0.5465 GB, free: 28.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003784, allocations: 0 / 0.5465 GB, free: 28.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.713e-05/0.003841, allocations: 41.67 kB / 0.5465 GB, free: 28.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.003855, allocations: 4 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.00386, allocations: 4 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.003869, allocations: 4 kB / 0.5466 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.00392, allocations: 7.984 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-06/0.003923, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.003938, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.003942, allocations: 2.656 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 3.782e-05/0.00398, allocations: 121.7 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.003987, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.004011, allocations: 3.688 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.004013, allocations: 7.938 kB / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.004014, allocations: 0 / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.004017, allocations: 0 / 0.5467 GB, free: 28.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.245e-05/0.00408, allocations: 77.83 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.004081, allocations: 0 / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.004114, allocations: 8 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.004121, allocations: 7.891 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.004123, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-06/0.004128, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.00413, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.004131, allocations: 0 / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.004196, allocations: 72.98 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.004205, allocations: 3.375 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.00422, allocations: 3.984 kB / 0.5469 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.004231, allocations: 8 kB / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.004233, allocations: 0 / 0.5469 GB, free: 27.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.35e-05/0.004247, allocations: 12.86 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.004247, allocations: 0 / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001509/0.004398, allocations: 4 kB / 0.5469 GB, free: 27.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 6.528e-05/0.004463, allocations: 80.42 kB / 0.547 GB, free: 27.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.887e-05/0.004522, allocations: 16.84 kB / 0.547 GB, free: 27.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.004529, allocations: 4 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.004547, allocations: 8.859 kB / 0.547 GB, free: 27.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.765e-05/0.004615, allocations: 18.33 kB / 0.547 GB, free: 27.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001969/0.004812, allocations: 112.5 kB / 0.5471 GB, free: 27.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.25e-05/0.004834, allocations: 59.3 kB / 0.5472 GB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.236e-05/0.004857, allocations: 0 / 0.5472 GB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.004885, allocations: 51.38 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.004886, allocations: 0 / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of Templates: time 0.00214/0.007026, allocations: 464.1 kB / 0.5477 GB, free: 27.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9900386054068804]