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.001822/0.001822, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 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.002114/0.002114, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.664/1.664, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] 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 1.511/1.511, allocations: 292.9 MB / 0.5392 GB, free: 50.18 MB / 410.7 MB " [Timeout remaining time 178] 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 1.393e-06/1.393e-06, allocations: 0 / 0.6998 GB, free: 8.594 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.484e-05, allocations: 5.094 kB / 0.6998 GB, free: 8.59 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs): time 0.001588/0.001623, allocations: 0.6124 MB / 0.7004 GB, free: 7.977 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.76e-05/0.00167, allocations: 7.984 kB / 0.7004 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.001703, allocations: 0 / 0.7004 GB, free: 7.969 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.00172, allocations: 3.938 kB / 0.7004 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.039e-05/0.00175, allocations: 0 / 0.7004 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.566e-05/0.001806, allocations: 0 / 0.7004 GB, free: 7.965 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.001877, allocations: 23.91 kB / 0.7004 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.001932, allocations: 0 / 0.7004 GB, free: 7.941 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.903e-05/0.001971, allocations: 11.98 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.456e-05/0.002025, allocations: 8 kB / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.002051, allocations: 0 / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-06/0.002056, allocations: 0 / 0.7005 GB, free: 7.922 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.002071, allocations: 3.984 kB / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.002105, allocations: 7.938 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.422e-05/0.002159, allocations: 7.984 kB / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.002161, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.01e-07/0.002162, allocations: 0 / 0.7005 GB, free: 7.902 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.002166, allocations: 4 kB / 0.7005 GB, free: 7.898 MB / 410.8 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.0003406/0.002506, allocations: 250.3 kB / 0.7007 GB, free: 7.621 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.002547, allocations: 16.03 kB / 0.7007 GB, free: 7.605 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.002579, allocations: 0.9375 kB / 0.7007 GB, free: 7.605 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.002656, allocations: 117.7 kB / 0.7009 GB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.002671, allocations: 4.359 kB / 0.7009 GB, free: 7.461 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.614e-06/0.002678, allocations: 384 / 0.7009 GB, free: 7.461 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.002771, allocations: 30.27 kB / 0.7009 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.002781, allocations: 192 / 0.7009 GB, free: 7.426 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.002791, allocations: 4.375 kB / 0.7009 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.002795, allocations: 4.375 kB / 0.7009 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.002838, allocations: 11.92 kB / 0.7009 GB, free: 7.406 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.002956, allocations: 105.3 kB / 0.701 GB, free: 7.273 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003552/0.003311, allocations: 58.59 kB / 0.7011 GB, free: 7.207 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.521e-05/0.003336, allocations: 12.8 kB / 0.7011 GB, free: 7.191 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.00335, allocations: 3.984 kB / 0.7011 GB, free: 7.188 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.003366, allocations: 38.56 kB / 0.7011 GB, free: 7.141 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.003367, allocations: 0 / 0.7011 GB, free: 7.141 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.000142/0.003509, allocations: 49.72 kB / 0.7012 GB, free: 7.086 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.00354, allocations: 51.41 kB / 0.7012 GB, free: 7.023 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.003593, allocations: 113.7 kB / 0.7013 GB, free: 6.902 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.0036, allocations: 25.7 kB / 0.7013 GB, free: 6.871 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/0.003618, allocations: 84.14 kB / 0.7014 GB, free: 6.785 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.003643, allocations: 7.953 kB / 0.7014 GB, free: 6.777 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.003671, allocations: 13.72 kB / 0.7014 GB, free: 6.758 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.003727, allocations: 318.8 kB / 0.7018 GB, free: 6.438 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.003744, allocations: 8 kB / 0.7018 GB, free: 6.43 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-06/0.003754, allocations: 0 / 0.7018 GB, free: 6.43 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.003787, allocations: 16.86 kB / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003788, allocations: 0 / 0.7018 GB, free: 6.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.321e-05/0.003841, allocations: 53.58 kB / 0.7018 GB, free: 6.352 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.003855, allocations: 10.03 kB / 0.7018 GB, free: 6.344 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.00386, allocations: 0 / 0.7018 GB, free: 6.344 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.003879, allocations: 4 kB / 0.7018 GB, free: 6.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/0.003921, allocations: 4 kB / 0.7018 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.003936, allocations: 0 / 0.7018 GB, free: 6.336 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.003957, allocations: 3.938 kB / 0.7018 GB, free: 6.332 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.003962, allocations: 0 / 0.7018 GB, free: 6.332 MB / 410.8 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 4.796e-05/0.00401, allocations: 117.5 kB / 0.702 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-06/0.004016, allocations: 0 / 0.702 GB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.004041, allocations: 7.938 kB / 0.702 GB, free: 6.203 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004042, allocations: 4 kB / 0.702 GB, free: 6.199 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.004046, allocations: 4 kB / 0.702 GB, free: 6.195 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.004049, allocations: 7.938 kB / 0.702 GB, free: 6.188 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.509e-05/0.004104, allocations: 105.3 kB / 0.7021 GB, free: 6.055 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.004105, allocations: 0 / 0.7021 GB, free: 6.055 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.004135, allocations: 4 kB / 0.7021 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.004136, allocations: 0 / 0.7021 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.004142, allocations: 0 / 0.7021 GB, free: 6.051 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004143, allocations: 4 kB / 0.7021 GB, free: 6.047 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004144, allocations: 0 / 0.7021 GB, free: 6.047 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.004223, allocations: 76.95 kB / 0.7022 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-06/0.004228, allocations: 0 / 0.7022 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.004239, allocations: 4 kB / 0.7022 GB, free: 5.949 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.004259, allocations: 8 kB / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.004274, allocations: 0 / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.004276, allocations: 8.25 kB / 0.7022 GB, free: 5.934 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.169e-05/0.004298, allocations: 83.27 kB / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004298, allocations: 0 / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001674/0.004465, allocations: 7.938 kB / 0.7023 GB, free: 5.844 MB / 410.8 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 9.167e-05/0.004557, allocations: 107.2 kB / 0.7024 GB, free: 5.73 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.004638, allocations: 19.91 kB / 0.7024 GB, free: 5.711 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.00464, allocations: 0 / 0.7024 GB, free: 5.711 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.004653, allocations: 12 kB / 0.7024 GB, free: 5.699 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.004799, allocations: 4 kB / 0.7024 GB, free: 5.695 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.005047, allocations: 108.8 kB / 0.7025 GB, free: 5.562 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.005082, allocations: 59.34 kB / 0.7026 GB, free: 5.484 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.005102, allocations: 4 kB / 0.7026 GB, free: 5.48 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.005129, allocations: 8.5 kB / 0.7026 GB, free: 5.473 MB / 410.8 MB Notification: Performance of SimCode: time 6.11e-07/0.00513, allocations: 0 / 0.7026 GB, free: 5.473 MB / 410.8 MB Notification: Performance of Templates: time 0.003305/0.008435, allocations: 397.8 kB / 0.703 GB, free: 5.145 MB / 410.8 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: 6.462266938062385]