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.001011/0.001011, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001549/0.00256, allocations: 443.8 kB / 10.3 MB, free: 400 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.001082/0.001082, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002584, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.089/1.089, allocations: 177.2 MB / 189.5 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08767/1.176, allocations: 53.66 MB / 243.2 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.7455/0.7455, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03045/0.776, allocations: 21.04 MB / 0.5431 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.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.422e-06/1.422e-06, allocations: 0 / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31e-05/1.452e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs): time 0.001196/0.001211, allocations: 0.6625 MB / 0.545 GB, free: 30 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.988e-05/0.001241, allocations: 11.92 kB / 0.545 GB, free: 29.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.001258, allocations: 0 / 0.545 GB, free: 29.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.129e-06/0.001263, allocations: 3.938 kB / 0.545 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-05/0.001273, allocations: 0 / 0.545 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.75e-05/0.0013, allocations: 7.984 kB / 0.5451 GB, free: 29.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.001347, allocations: 11.94 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.001384, allocations: 4 kB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.001435, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.001483, allocations: 7.984 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.001501, allocations: 4 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.001507, allocations: 3.938 kB / 0.5451 GB, free: 29.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.001517, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.001534, allocations: 3.938 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.073e-05/0.001585, allocations: 4 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.001601, allocations: 0 / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.001602, allocations: 3.984 kB / 0.5451 GB, free: 29.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.001616, allocations: 0 / 0.5451 GB, free: 29.92 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.0002933/0.001909, allocations: 235.1 kB / 0.5453 GB, free: 29.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.001942, allocations: 15.89 kB / 0.5453 GB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.001965, allocations: 4.938 kB / 0.5454 GB, free: 29.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.962e-05/0.002035, allocations: 109.8 kB / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.002048, allocations: 384 / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.002056, allocations: 384 / 0.5455 GB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.119e-05/0.002117, allocations: 34.25 kB / 0.5455 GB, free: 29.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.002124, allocations: 4.125 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.002131, allocations: 4.375 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.002137, allocations: 384 / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.002155, allocations: 7.938 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.778e-05/0.002232, allocations: 60.98 kB / 0.5456 GB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.002491, allocations: 62.56 kB / 0.5456 GB, free: 29.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.002507, allocations: 8.938 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-06/0.002515, allocations: 4 kB / 0.5456 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.002533, allocations: 37.88 kB / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.002534, allocations: 0 / 0.5457 GB, free: 29.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 9.356e-05/0.002627, allocations: 45.62 kB / 0.5457 GB, free: 29.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.002649, allocations: 55.41 kB / 0.5458 GB, free: 29.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732e-05/0.002686, allocations: 98.72 kB / 0.5459 GB, free: 29.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.519e-06/0.00269, allocations: 25.7 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.093e-05/0.002701, allocations: 92.12 kB / 0.546 GB, free: 28.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.002724, allocations: 7.938 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.002752, allocations: 17.72 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.046e-05/0.002783, allocations: 314.8 kB / 0.5463 GB, free: 28.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-06/0.002791, allocations: 4 kB / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.002799, allocations: 0 / 0.5463 GB, free: 28.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.002825, allocations: 24.77 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.002827, allocations: 0 / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.633e-05/0.002874, allocations: 37.69 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.002884, allocations: 4 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.00289, allocations: 4 kB / 0.5464 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.002904, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.001e-05/0.002944, allocations: 4 kB / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.002947, allocations: 0 / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.00296, allocations: 0 / 0.5464 GB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.002964, allocations: 0 / 0.5464 GB, free: 28.47 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.416e-05/0.002998, allocations: 113.8 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.003007, allocations: 11.92 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.003025, allocations: 3.688 kB / 0.5465 GB, free: 28.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.003027, allocations: 4 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.003028, allocations: 0 / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.003031, allocations: 4 kB / 0.5465 GB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.07e-05/0.003081, allocations: 65.84 kB / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.003082, allocations: 0 / 0.5466 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.003104, allocations: 8 kB / 0.5466 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.00311, allocations: 7.938 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-07/0.003111, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.003117, allocations: 7.375 kB / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.003118, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.003119, allocations: 0 / 0.5466 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.434e-05/0.003173, allocations: 65.39 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-06/0.003181, allocations: 0 / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.065e-05/0.003192, allocations: 7.938 kB / 0.5467 GB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.003204, allocations: 11.97 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.003206, allocations: 0 / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.034e-05/0.003216, allocations: 16.83 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003216, allocations: 0 / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001494/0.003366, allocations: 8 kB / 0.5467 GB, free: 28.1 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.176e-05/0.003427, allocations: 80.42 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.733e-05/0.003485, allocations: 12.86 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.003488, allocations: 4 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.003499, allocations: 12.84 kB / 0.5468 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.46e-05/0.003564, allocations: 11.88 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001799/0.003744, allocations: 142.2 kB / 0.547 GB, free: 27.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.616e-05/0.00377, allocations: 59.34 kB / 0.547 GB, free: 27.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.003802, allocations: 51.38 kB / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.003803, allocations: 0 / 0.5471 GB, free: 27.66 MB / 410.7 MB Notification: Performance of Templates: time 0.001303/0.005106, allocations: 0.4972 MB / 0.5475 GB, free: 27.18 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA10_Azithromycin.Azithromycin_Hao2013_PD_pcs.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.17115568742156]